diff --git a/src/stores/avatar.js b/src/stores/avatar.js index cb914ba0..ab9f85ec 100644 --- a/src/stores/avatar.js +++ b/src/stores/avatar.js @@ -185,6 +185,7 @@ export const useAvatarStore = defineStore('Avatar', () => { D.visible = true; if (D.id === avatarId) { uiStore.setDialogCrumbLabel('avatar', D.id, D.ref?.name || D.id); + D.loading = false; return; } D.loading = true; @@ -212,6 +213,7 @@ export const useAvatarStore = defineStore('Avatar', () => { if (typeof ref2 !== 'undefined') { D.ref = ref2; uiStore.setDialogCrumbLabel('avatar', D.id, D.ref?.name || D.id); + D.loading = false; } avatarRequest .getAvatar({ avatarId }) diff --git a/src/stores/group.js b/src/stores/group.js index faeca467..b96708cc 100644 --- a/src/stores/group.js +++ b/src/stores/group.js @@ -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 diff --git a/src/stores/world.js b/src/stores/world.js index c6bcb15c..270d8c97 100644 --- a/src/stores/world.js +++ b/src/stores/world.js @@ -90,6 +90,7 @@ export const useWorldStore = defineStore('World', () => { if (D.id === L.worldId) { uiStore.setDialogCrumbLabel('world', D.id, D.ref?.name || D.id); instanceStore.applyWorldDialogInstances(); + D.loading = false; return; } L.shortName = shortName; @@ -159,6 +160,7 @@ export const useWorldStore = defineStore('World', () => { D.ref?.name || D.id ); D.visible = true; + D.loading = false; D.isFavorite = favoriteStore.getCachedFavoritesByObjectId( D.id ); @@ -206,7 +208,6 @@ export const useWorldStore = defineStore('World', () => { }); } } - D.visible = true; }); }