diff --git a/frontend/src/routes/(app)/analytics/+page.svelte b/frontend/src/routes/(app)/analytics/+page.svelte index eef4b7f42..aa296152f 100644 --- a/frontend/src/routes/(app)/analytics/+page.svelte +++ b/frontend/src/routes/(app)/analytics/+page.svelte @@ -65,7 +65,8 @@ 'folder', 'eta', 'expiry_date' - ]) + ]), + meta: data.measures }; const riskAcceptanceWatchlistTable: TableSource = { @@ -74,13 +75,14 @@ risk_scenarios: 'riskScenarios', expiry_date: 'expiryDate' }, - body: tableSourceMapper(data.acceptances_to_review, ['name', 'risk_scenarios', 'expiry_date']) + body: tableSourceMapper(data.acceptances_to_review, ['name', 'risk_scenarios', 'expiry_date']), + meta: data.acceptances_to_review }; let tabSet = $page.url.searchParams.get('tab') ? parseInt($page.url.searchParams.get('tab')) : 0; $: if (browser) { - $page.url.searchParams.set('tab', tabSet.toString()); + tabSet !== 0 ? $page.url.searchParams.set('tab', tabSet.toString()) : null; goto($page.url); } @@ -208,6 +210,7 @@ {m.measuresToReview()} @@ -216,6 +219,7 @@ {m.exceptionsToReview()}