mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-29 19:53:47 +02:00
Fix avatar time spent and reload dialog when opening same dialog when no dialog is open
This commit is contained in:
@@ -131,13 +131,13 @@ export const useGroupStore = defineStore('Group', () => {
|
||||
if (!groupId) {
|
||||
return;
|
||||
}
|
||||
uiStore.openDialog({
|
||||
const isMainDialogOpen = uiStore.openDialog({
|
||||
type: 'group',
|
||||
id: groupId
|
||||
});
|
||||
const D = groupDialog.value;
|
||||
D.visible = true;
|
||||
if (D.id === groupId) {
|
||||
if (isMainDialogOpen && D.id === groupId) {
|
||||
uiStore.setDialogCrumbLabel('group', D.id, D.ref?.name || D.id);
|
||||
instanceStore.applyGroupDialogInstances();
|
||||
D.loading = false;
|
||||
|
||||
Reference in New Issue
Block a user