mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-01 04:33:46 +02:00
Last updated dropdown
This commit is contained in:
@@ -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) => {
|
||||
|
||||
@@ -101,8 +101,7 @@ export const useInstanceStore = defineStore('Instance', () => {
|
||||
focusViewDisabled: false,
|
||||
inCache: false,
|
||||
cacheSize: '',
|
||||
bundleSizes: {},
|
||||
lastUpdated: ''
|
||||
fileAnalysis: {}
|
||||
});
|
||||
|
||||
/** @type {import('vue').Ref<any>} */
|
||||
@@ -386,8 +385,7 @@ export const useInstanceStore = defineStore('Instance', () => {
|
||||
focusViewDisabled: false,
|
||||
inCache: false,
|
||||
cacheSize: '',
|
||||
bundleSizes: {},
|
||||
lastUpdated: ''
|
||||
fileAnalysis: {}
|
||||
};
|
||||
currentInstanceLocation.value = {};
|
||||
} else if (instanceId !== currentInstanceLocation.value.tag) {
|
||||
@@ -401,8 +399,7 @@ export const useInstanceStore = defineStore('Instance', () => {
|
||||
focusViewDisabled: false,
|
||||
inCache: false,
|
||||
cacheSize: '',
|
||||
bundleSizes: {},
|
||||
lastUpdated: ''
|
||||
fileAnalysis: {}
|
||||
};
|
||||
L = parseLocation(instanceId);
|
||||
currentInstanceLocation.value = L;
|
||||
@@ -439,17 +436,7 @@ export const useInstanceStore = defineStore('Instance', () => {
|
||||
error
|
||||
);
|
||||
});
|
||||
getBundleDateSize(args.ref)
|
||||
.then((bundleSizes) => {
|
||||
currentInstanceWorld.value.bundleSizes =
|
||||
bundleSizes;
|
||||
})
|
||||
.catch((error) => {
|
||||
console.error(
|
||||
'Error fetching bundle sizes:',
|
||||
error
|
||||
);
|
||||
});
|
||||
getBundleDateSize(args.ref);
|
||||
return args;
|
||||
})
|
||||
.catch((error) => {
|
||||
|
||||
@@ -46,8 +46,6 @@ export const useWorldStore = defineStore('World', () => {
|
||||
avatarScalingDisabled: false,
|
||||
focusViewDisabled: false,
|
||||
rooms: [],
|
||||
bundleSizes: {},
|
||||
lastUpdated: '',
|
||||
inCache: false,
|
||||
cacheSize: '',
|
||||
cacheLocked: false,
|
||||
@@ -96,8 +94,6 @@ export const useWorldStore = defineStore('World', () => {
|
||||
L.shortName = shortName;
|
||||
D.id = L.worldId;
|
||||
D.$location = L;
|
||||
D.bundleSizes = {};
|
||||
D.lastUpdated = '';
|
||||
D.loading = true;
|
||||
D.inCache = false;
|
||||
D.cacheSize = '';
|
||||
@@ -331,10 +327,8 @@ export const useWorldStore = defineStore('World', () => {
|
||||
});
|
||||
}
|
||||
}
|
||||
if (Object.keys(worldDialog.bundleSizes).length === 0) {
|
||||
getBundleDateSize(ref).then((bundleSizes) => {
|
||||
worldDialog.bundleSizes = bundleSizes;
|
||||
});
|
||||
if (Object.keys(worldDialog.fileAnalysis).length === 0) {
|
||||
getBundleDateSize(ref);
|
||||
}
|
||||
}
|
||||
if (favoriteStore.localWorldFavoritesList.includes(ref.id)) {
|
||||
|
||||
Reference in New Issue
Block a user