Fix avatar/world updated at date

This commit is contained in:
Natsumi
2025-08-29 15:24:02 +12:00
parent 75113a97d4
commit edd722a852
+20 -17
View File
@@ -485,23 +485,26 @@ async function getBundleDateSize(ref) {
fileSize fileSize
}; };
// update avatar dialog if (unityPackage.variant === 'standard') {
if (avatarDialog.value.id === ref.id) { if (avatarDialog.value.id === ref.id) {
avatarDialog.value.bundleSizes[platform] = bundleSizes[platform]; // update avatar dialog
avatarDialog.value.lastUpdated = createdAt; avatarDialog.value.bundleSizes[platform] =
avatarDialog.value.fileAnalysis = buildTreeData(bundleJson); bundleSizes[platform];
} avatarDialog.value.lastUpdated = createdAt;
// update world dialog avatarDialog.value.fileAnalysis = buildTreeData(bundleJson);
if (worldDialog.value.id === ref.id) { }
worldDialog.value.bundleSizes[platform] = bundleSizes[platform]; // update world dialog
worldDialog.value.lastUpdated = createdAt; if (worldDialog.value.id === ref.id) {
worldDialog.value.fileAnalysis = buildTreeData(bundleJson); worldDialog.value.bundleSizes[platform] = bundleSizes[platform];
} worldDialog.value.lastUpdated = createdAt;
// update player list worldDialog.value.fileAnalysis = buildTreeData(bundleJson);
if (currentInstanceLocation.value.worldId === ref.id) { }
currentInstanceWorld.value.bundleSizes[platform] = // update player list
bundleSizes[platform]; if (currentInstanceLocation.value.worldId === ref.id) {
currentInstanceWorld.value.lastUpdated = createdAt; currentInstanceWorld.value.bundleSizes[platform] =
bundleSizes[platform];
currentInstanceWorld.value.lastUpdated = createdAt;
}
} }
} }