fix: reset and unsaved change states in editor (#25588)

This commit is contained in:
Brandon Wees
2026-01-29 15:18:30 -06:00
committed by GitHub
parent 3ace578fc0
commit 1a04caee29
4 changed files with 22 additions and 11 deletions

View File

@@ -194,9 +194,7 @@
const closeEditor = async () => {
if (editManager.hasAppliedEdits) {
console.log(asset);
const refreshedAsset = await getAssetInfo({ id: asset.id });
console.log(refreshedAsset);
onAssetChange?.(refreshedAsset);
assetViewingStore.setAsset(refreshedAsset);
}