Last updated dropdown

This commit is contained in:
Natsumi
2026-02-05 16:41:33 +13:00
committed by pa
parent 33c8d97403
commit ecce12a9fc
7 changed files with 71 additions and 83 deletions

View File

@@ -56,11 +56,9 @@ export const useAvatarStore = defineStore('Avatar', () => {
isPC: false,
isQuest: false,
isIos: false,
bundleSizes: {},
platformInfo: {},
galleryImages: [],
galleryLoading: false,
lastUpdated: '',
inCache: false,
cacheSize: '',
cacheLocked: false,
@@ -202,8 +200,6 @@ export const useAvatarStore = defineStore('Avatar', () => {
D.isIos = false;
D.hasImposter = false;
D.imposterVersion = '';
D.lastUpdated = '';
D.bundleSizes = {};
D.platformInfo = {};
D.galleryImages = [];
D.galleryLoading = true;
@@ -247,10 +243,8 @@ export const useAvatarStore = defineStore('Avatar', () => {
break;
}
}
if (Object.keys(D.bundleSizes).length === 0) {
getBundleDateSize(ref).then((bundleSizes) => {
D.bundleSizes = bundleSizes;
});
if (Object.keys(D.fileAnalysis).length === 0) {
getBundleDateSize(ref);
}
})
.catch((err) => {