mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-06 06:46:04 +02:00
Fix for deleted groups
This commit is contained in:
+6
-2
@@ -4820,7 +4820,7 @@ speechSynthesis.getVoices();
|
|||||||
created_at: new Date().toJSON(),
|
created_at: new Date().toJSON(),
|
||||||
type: 'group.queueReady',
|
type: 'group.queueReady',
|
||||||
imageUrl: group?.iconUrl,
|
imageUrl: group?.iconUrl,
|
||||||
message: `Instance ready to join ${groupName}- ${worldName}`,
|
message: `Instance ready to join ${groupName} - ${worldName}`,
|
||||||
location: instanceId,
|
location: instanceId,
|
||||||
groupName,
|
groupName,
|
||||||
worldName
|
worldName
|
||||||
@@ -25794,7 +25794,11 @@ speechSynthesis.getVoices();
|
|||||||
this.showGroupDialog(groupId);
|
this.showGroupDialog(groupId);
|
||||||
}
|
}
|
||||||
if (!API.currentUserGroups.has(groupId)) {
|
if (!API.currentUserGroups.has(groupId)) {
|
||||||
API.currentUserGroups.set(groupId);
|
API.currentUserGroups.set(groupId, {
|
||||||
|
id: groupId,
|
||||||
|
name: '',
|
||||||
|
iconUrl: ''
|
||||||
|
});
|
||||||
if (this.friendLogInitStatus) {
|
if (this.friendLogInitStatus) {
|
||||||
API.getGroup({ groupId });
|
API.getGroup({ groupId });
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -1237,7 +1237,7 @@ html
|
|||||||
el-form-item(:label="$t('dialog.new_instance.group_id')" v-if="newInstanceDialog.accessType === 'group'")
|
el-form-item(:label="$t('dialog.new_instance.group_id')" v-if="newInstanceDialog.accessType === 'group'")
|
||||||
el-select(v-model="newInstanceDialog.groupId" clearable :placeholder="$t('dialog.new_instance.group_placeholder')" filterable style="width:100%")
|
el-select(v-model="newInstanceDialog.groupId" clearable :placeholder="$t('dialog.new_instance.group_placeholder')" filterable style="width:100%")
|
||||||
el-option-group(:label="$t('dialog.new_instance.group_placeholder')")
|
el-option-group(:label="$t('dialog.new_instance.group_placeholder')")
|
||||||
el-option.x-friend-item(v-for="group in API.currentUserGroups.values()" :key="group.id" :label="group.name" :value="group.id" style="height:auto;width:478px")
|
el-option.x-friend-item(v-if="group" v-for="group in API.currentUserGroups.values()" :key="group.id" :label="group.name" :value="group.id" style="height:auto;width:478px")
|
||||||
.avatar
|
.avatar
|
||||||
img(v-lazy="group.iconUrl")
|
img(v-lazy="group.iconUrl")
|
||||||
.detail
|
.detail
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ mixin notificationsTab()
|
|||||||
template(#content)
|
template(#content)
|
||||||
location(v-if="scope.row.details" :location="scope.row.details.worldId" :hint="scope.row.details.worldName" :grouphint="scope.row.details.groupName" :link="false")
|
location(v-if="scope.row.details" :location="scope.row.details.worldId" :hint="scope.row.details.worldName" :grouphint="scope.row.details.groupName" :link="false")
|
||||||
span.x-link(v-text="scope.row.type" @click="showWorldDialog(scope.row.details.worldId)")
|
span.x-link(v-text="scope.row.type" @click="showWorldDialog(scope.row.details.worldId)")
|
||||||
el-tooltip(v-if="scope.row.type === 'group.queueReady'" placement="top")
|
el-tooltip(v-else-if="scope.row.type === 'group.queueReady'" placement="top")
|
||||||
template(#content)
|
template(#content)
|
||||||
location(v-if="scope.row.location" :location="scope.row.location" :hint="scope.row.worldName" :grouphint="scope.row.groupName" :link="false")
|
location(v-if="scope.row.location" :location="scope.row.location" :hint="scope.row.worldName" :grouphint="scope.row.groupName" :link="false")
|
||||||
span.x-link(v-text="scope.row.type" @click="showWorldDialog(scope.row.location)")
|
span.x-link(v-text="scope.row.type" @click="showWorldDialog(scope.row.location)")
|
||||||
|
|||||||
Reference in New Issue
Block a user