diff --git a/frontend/src/lib/components/NetworkScan.svelte b/frontend/src/lib/components/NetworkScan.svelte index 1c339633..9d942929 100644 --- a/frontend/src/lib/components/NetworkScan.svelte +++ b/frontend/src/lib/components/NetworkScan.svelte @@ -2,6 +2,7 @@ import { goto } from '$app/navigation'; import PageLoading from '$lib/components/PageLoading.svelte'; import { m } from '$lib/paraglide/messages'; + import { localeStore } from '$lib/stores/locale'; import { backendUrl, pocketbase } from '$lib/stores/pocketbase'; import { settingsPriv } from '$lib/stores/settings'; import type { Device } from '$lib/types/device'; @@ -166,7 +167,7 @@ {#if scanResponse.devices?.length > 0} - {#each scanResponse.devices.sort( (a, b) => a.ip.localeCompare( b.ip, undefined, { numeric: true } ) ) as device, index} + {#each scanResponse.devices.sort( (a, b) => a.ip.localeCompare( b.ip, $localeStore, { numeric: true } ) ) as device, index}