diff --git a/app/web/src/store/asset.store.ts b/app/web/src/store/asset.store.ts index b8908c6e06..aae5b567aa 100644 --- a/app/web/src/store/asset.store.ts +++ b/app/web/src/store/asset.store.ts @@ -186,10 +186,12 @@ export const useAssetStore = () => { }, actions: { addAssetSelection(id: AssetId) { - this.selectedAssets.push(id); - this.LOAD_ASSET(id); - this.syncSelectionIntoUrl(); - this.selectedFuncs = []; + if (!this.selectedAssets.includes(id)) { + this.selectedAssets.push(id); + this.LOAD_ASSET(id); + this.syncSelectionIntoUrl(); + this.selectedFuncs = []; + } }, setAssetSelection(id: AssetId) { if (!this.selectedAssets.includes(id)) {