mirror of
https://github.com/rommapp/romm.git
synced 2026-12-02 10:08:40 +01:00
The v2 delete flow cleared only the legacy v1 selection store (romsStore.resetSelection()), leaving the v2 gallerySelection store untouched. Since v2 multiselect and the SelectionBar read from gallerySelection, the deleted ROMs stayed selected: the bar remained open with stale rows and re-running a bulk action 404'd. Drop the deleted IDs from gallerySelection via removeIds so a full delete closes the bar while a partial delete keeps the rest selected. Fixes #3822 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>