fix(web): update after delete (#18684)

This commit is contained in:
Daimolean 2025-05-27 23:42:08 +08:00 committed by GitHub
parent 0712183a18
commit 4e332db2fb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -58,6 +58,7 @@
const deleteAsset = async () => {
try {
preAction({ type: AssetAction.DELETE, asset: toTimelineAsset(asset) });
await deleteAssets({ assetBulkDeleteDto: { ids: [asset.id], force: true } });
onAction({ type: AssetAction.DELETE, asset: toTimelineAsset(asset) });