use single query param

This commit is contained in:
Mees Frensel 2026-03-05 11:02:02 +01:00
parent 372aad07d5
commit 3644f67f59
2 changed files with 3 additions and 3 deletions

View File

@ -412,7 +412,7 @@
{/snippet}
</MapLibre>
{#snippet failed(_error)}
{#snippet failed(_)}
<div
class={[
'flex place-content-center place-items-center text-warning',
@ -427,7 +427,7 @@
{$t('errors.enable_webgl_for_map', { values: { isAdmin: $user.isAdmin } })}
</Text>
{#if $user.isAdmin}
<Link href={Route.systemSettings({ isOpen: OpenQueryParam.MAP })}>{$t('go_to_settings')}</Link>
<Link href={Route.systemSettings({ isOpen: OpenQueryParam.LOCATION })}>{$t('go_to_settings')}</Link>
{/if}
</div>
</div>

View File

@ -65,7 +65,7 @@ export enum OpenQueryParam {
OAUTH = 'oauth',
JOB = 'job',
STORAGE_TEMPLATE = 'storage-template',
MAP = 'location map',
LOCATION = 'location',
NOTIFICATIONS = 'notifications',
PURCHASE_SETTINGS = 'user-purchase-settings',
}