mirror of
https://github.com/immich-app/immich.git
synced 2024-12-28 22:51:59 +00:00
update device names
This commit is contained in:
parent
f5bdee59aa
commit
89f7c031ad
1 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@
|
||||||
<div class="hidden items-center justify-center pr-2 text-immich-primary dark:text-immich-dark-primary sm:flex">
|
<div class="hidden items-center justify-center pr-2 text-immich-primary dark:text-immich-dark-primary sm:flex">
|
||||||
{#if device.deviceOS === 'Android'}
|
{#if device.deviceOS === 'Android'}
|
||||||
<Icon path={mdiAndroid} size="40" />
|
<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" />
|
<Icon path={mdiApple} size="40" />
|
||||||
{:else if device.deviceOS.includes('Safari')}
|
{:else if device.deviceOS.includes('Safari')}
|
||||||
<Icon path={mdiAppleSafari} size="40" />
|
<Icon path={mdiAppleSafari} size="40" />
|
||||||
|
@ -44,7 +44,7 @@
|
||||||
<Icon path={mdiLinux} size="40" />
|
<Icon path={mdiLinux} size="40" />
|
||||||
{:else if device.deviceOS === 'Ubuntu'}
|
{:else if device.deviceOS === 'Ubuntu'}
|
||||||
<Icon path={mdiUbuntu} size="40" />
|
<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" />
|
<Icon path={mdiGoogleChrome} size="40" />
|
||||||
{:else}
|
{:else}
|
||||||
<Icon path={mdiHelp} size="40" />
|
<Icon path={mdiHelp} size="40" />
|
||||||
|
|
Loading…
Reference in a new issue