mirror of
https://github.com/immich-app/immich.git
synced 2026-03-22 09:00:58 +03:00
use single query param
This commit is contained in:
@@ -412,7 +412,7 @@
|
|||||||
{/snippet}
|
{/snippet}
|
||||||
</MapLibre>
|
</MapLibre>
|
||||||
|
|
||||||
{#snippet failed(_error)}
|
{#snippet failed(_)}
|
||||||
<div
|
<div
|
||||||
class={[
|
class={[
|
||||||
'flex place-content-center place-items-center text-warning',
|
'flex place-content-center place-items-center text-warning',
|
||||||
@@ -427,7 +427,7 @@
|
|||||||
{$t('errors.enable_webgl_for_map', { values: { isAdmin: $user.isAdmin } })}
|
{$t('errors.enable_webgl_for_map', { values: { isAdmin: $user.isAdmin } })}
|
||||||
</Text>
|
</Text>
|
||||||
{#if $user.isAdmin}
|
{#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}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ export enum OpenQueryParam {
|
|||||||
OAUTH = 'oauth',
|
OAUTH = 'oauth',
|
||||||
JOB = 'job',
|
JOB = 'job',
|
||||||
STORAGE_TEMPLATE = 'storage-template',
|
STORAGE_TEMPLATE = 'storage-template',
|
||||||
MAP = 'location map',
|
LOCATION = 'location',
|
||||||
NOTIFICATIONS = 'notifications',
|
NOTIFICATIONS = 'notifications',
|
||||||
PURCHASE_SETTINGS = 'user-purchase-settings',
|
PURCHASE_SETTINGS = 'user-purchase-settings',
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user