mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 06:56:04 +02:00
Update users in instances when reopening same dialogs
This commit is contained in:
@@ -143,6 +143,7 @@ export const useGroupStore = defineStore('Group', () => {
|
|||||||
D.visible = true;
|
D.visible = true;
|
||||||
if (D.id === groupId) {
|
if (D.id === groupId) {
|
||||||
uiStore.setDialogCrumbLabel('group', D.id, D.ref?.name || D.id);
|
uiStore.setDialogCrumbLabel('group', D.id, D.ref?.name || D.id);
|
||||||
|
instanceStore.applyGroupDialogInstances();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
D.loading = true;
|
D.loading = true;
|
||||||
|
|||||||
@@ -790,6 +790,7 @@ export const useUserStore = defineStore('User', () => {
|
|||||||
D.id,
|
D.id,
|
||||||
D.ref?.displayName || D.id
|
D.ref?.displayName || D.id
|
||||||
);
|
);
|
||||||
|
applyUserDialogLocation();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
D.id = userId;
|
D.id = userId;
|
||||||
|
|||||||
@@ -89,6 +89,7 @@ export const useWorldStore = defineStore('World', () => {
|
|||||||
D.visible = true;
|
D.visible = true;
|
||||||
if (D.id === L.worldId) {
|
if (D.id === L.worldId) {
|
||||||
uiStore.setDialogCrumbLabel('world', D.id, D.ref?.name || D.id);
|
uiStore.setDialogCrumbLabel('world', D.id, D.ref?.name || D.id);
|
||||||
|
instanceStore.applyWorldDialogInstances();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
L.shortName = shortName;
|
L.shortName = shortName;
|
||||||
|
|||||||
Reference in New Issue
Block a user