1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2024-12-28 06:31:58 +00:00

update device names

This commit is contained in:
Michel Heusschen 2024-12-14 07:08:02 +01:00
parent f5bdee59aa
commit 89f7c031ad

View file

@ -34,7 +34,7 @@
<div class="hidden items-center justify-center pr-2 text-immich-primary dark:text-immich-dark-primary sm:flex">
{#if device.deviceOS === 'Android'}
<Icon path={mdiAndroid} size="40" />
{:else if device.deviceOS === 'iOS' || device.deviceOS === 'Mac OS'}
{:else if ['iOS', 'Mac OS', 'macOS'].includes(device.deviceOS)}
<Icon path={mdiApple} size="40" />
{:else if device.deviceOS.includes('Safari')}
<Icon path={mdiAppleSafari} size="40" />
@ -44,7 +44,7 @@
<Icon path={mdiLinux} size="40" />
{:else if device.deviceOS === 'Ubuntu'}
<Icon path={mdiUbuntu} size="40" />
{:else if device.deviceOS === 'Chromium OS' || device.deviceType === 'Chrome' || device.deviceType === 'Chromium'}
{:else if ['Chromium OS', 'Chrome OS'].includes(device.deviceOS) || ['Chrome', 'Chromium'].includes(device.deviceType)}
<Icon path={mdiGoogleChrome} size="40" />
{:else}
<Icon path={mdiHelp} size="40" />