mirror of
https://github.com/immich-app/immich.git
synced 2026-02-28 17:49:05 +03:00
fix(web): use locale for date picker (#26125)
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
import { themeManager } from '$lib/managers/theme-manager.svelte';
|
||||
import ServerRestartingModal from '$lib/modals/ServerRestartingModal.svelte';
|
||||
import { Route } from '$lib/route';
|
||||
import { locale } from '$lib/stores/preferences.store';
|
||||
import { sidebarStore } from '$lib/stores/sidebar.svelte';
|
||||
import { user } from '$lib/stores/user.store';
|
||||
import { closeWebsocketConnection, openWebsocketConnection, websocketStore } from '$lib/stores/websocket';
|
||||
@@ -23,6 +24,7 @@
|
||||
CommandPaletteDefaultProvider,
|
||||
TooltipProvider,
|
||||
modalManager,
|
||||
setLocale,
|
||||
setTranslations,
|
||||
toastManager,
|
||||
type ActionItem,
|
||||
@@ -52,6 +54,8 @@
|
||||
});
|
||||
});
|
||||
|
||||
$effect(() => setLocale($locale));
|
||||
|
||||
let { children }: Props = $props();
|
||||
|
||||
let showNavigationLoadingBar = $state(false);
|
||||
|
||||
Reference in New Issue
Block a user