mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-18 22:33:50 +02:00
Fixes
This commit is contained in:
@@ -168,6 +168,13 @@
|
||||
if (!D.groupId || !D.postId) {
|
||||
return;
|
||||
}
|
||||
if (!D.title || !D.text) {
|
||||
proxy.$message({
|
||||
message: 'Title and text are required',
|
||||
type: 'warning'
|
||||
});
|
||||
return;
|
||||
}
|
||||
const params = {
|
||||
groupId: D.groupId,
|
||||
postId: D.postId,
|
||||
@@ -192,6 +199,13 @@
|
||||
}
|
||||
function createGroupPost() {
|
||||
const D = groupPostEditDialog.value;
|
||||
if (!D.title || !D.text) {
|
||||
proxy.$message({
|
||||
message: 'Title and text are required',
|
||||
type: 'warning'
|
||||
});
|
||||
return;
|
||||
}
|
||||
const params = {
|
||||
groupId: D.groupId,
|
||||
title: D.title,
|
||||
|
||||
Reference in New Issue
Block a user