Fix dialog loading state

This commit is contained in:
Natsumi
2026-02-11 17:49:21 +13:00
parent 684298b026
commit 93e305620d
3 changed files with 6 additions and 1 deletions

View File

@@ -144,6 +144,7 @@ export const useGroupStore = defineStore('Group', () => {
if (D.id === groupId) {
uiStore.setDialogCrumbLabel('group', D.id, D.ref?.name || D.id);
instanceStore.applyGroupDialogInstances();
D.loading = false;
return;
}
D.loading = true;
@@ -185,6 +186,7 @@ export const useGroupStore = defineStore('Group', () => {
D.inGroup = args.ref.membershipStatus === 'member';
D.ownerDisplayName = args.ref.ownerId;
D.visible = true;
D.loading = false;
userRequest
.getCachedUser({
userId: args.ref.ownerId