Skip to content

Commit 0f2fd03

Browse files
committed
Load subscriptions and monitors on mount to populate tab counts immediately
Previously, tab counts for subscriptions and monitors were not displayed until the user clicked those tabs. This fix loads both data sets during onMount so the counts appear immediately on page load.
1 parent fe6511d commit 0f2fd03

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/routes/+page.svelte

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,8 @@
162162
loadProfiles();
163163
loadCompletedDownloads();
164164
loadCacheUsage();
165+
loadSubscriptions();
166+
loadMonitors();
165167
166168
const unsubComplete = onSSEEvent('download:complete', ({ download }) => {
167169
const exists = completedDownloads.find((d) => d.id === download.id);

0 commit comments

Comments
 (0)