mirror of
https://github.com/immich-app/immich.git
synced 2026-03-09 11:23:46 -04:00
use single query param
This commit is contained in:
parent
372aad07d5
commit
3644f67f59
@ -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>
|
||||
|
||||
@ -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',
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user