diff --git a/frontend/src/routes/gdpr/+page.svelte b/frontend/src/routes/gdpr/+page.svelte index 19aec09..2c5a85d 100644 --- a/frontend/src/routes/gdpr/+page.svelte +++ b/frontend/src/routes/gdpr/+page.svelte @@ -208,6 +208,7 @@ } if (!authStore.isAuthenticated) { pageState = 'unauthorized'; + // eslint-disable-next-line svelte/no-navigation-without-resolve goto('/login', { replaceState: true }); return; } @@ -251,6 +252,9 @@ } } + // eslint-disable-next-line svelte/no-navigation-without-resolve + function handleGotoAccount() { goto('/account'); } + function handlePrint() { window.print(); } @@ -508,7 +512,7 @@

{errorMessage}

- +
{:else if pageState === 'loaded' && gdprData} @@ -516,7 +520,7 @@