mirror of
https://github.com/rommapp/romm.git
synced 2026-11-30 10:32:57 +01:00
A collection's ROM count was rendered from the collections store, whose lists are fetched once per session and never refreshed. Virtual collection membership is derived from ROM metadata, so every scan and every metadata match moves it with no collection write to update that copy from, leaving a stale count in the head band next to a gallery that fetches live. The collection page now re-reads the collection it is opening from the server, falling back to the cached copy only when that request fails, and the store re-reads its loaded virtual collections when a scan settles or a metadata write lands, so the tiles and the open page follow along. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>