mirror of
https://github.com/docmost/docmost.git
synced 2026-07-07 16:14:29 +10:00
be79b7159c
Mounts useBaseRowsCountQuery alongside the rows query so the count is fetched eagerly and the cache is warm by the time the toolbar consumes it. Gating on `currentUser` (not just `base`) ensures the persisted view-draft has hydrated from localStorage before the first count fires — otherwise a post-refresh count races ahead of the user's saved filter and ships without it.