Fix avatar/world updated at date

This commit is contained in:
Natsumi
2025-08-29 15:24:02 +12:00
parent 75113a97d4
commit edd722a852
+5 -2
View File
@@ -485,9 +485,11 @@ async function getBundleDateSize(ref) {
fileSize
};
// update avatar dialog
if (unityPackage.variant === 'standard') {
if (avatarDialog.value.id === ref.id) {
avatarDialog.value.bundleSizes[platform] = bundleSizes[platform];
// update avatar dialog
avatarDialog.value.bundleSizes[platform] =
bundleSizes[platform];
avatarDialog.value.lastUpdated = createdAt;
avatarDialog.value.fileAnalysis = buildTreeData(bundleJson);
}
@@ -504,6 +506,7 @@ async function getBundleDateSize(ref) {
currentInstanceWorld.value.lastUpdated = createdAt;
}
}
}
return bundleSizes;
}