mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-06 06:46:04 +02:00
Fix dialog loading state
This commit is contained in:
@@ -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 })
|
||||
|
||||
Reference in New Issue
Block a user