fix(web): Device list shows Ubuntu as unknown OS (#12127)
Co-authored-by: Spencer Fasulo <spencer.fasulo@icloud.com>pull/12130/head
parent
8c54312c87
commit
48fb0f309d
|
|
@ -12,6 +12,7 @@
|
||||||
mdiLinux,
|
mdiLinux,
|
||||||
mdiMicrosoftWindows,
|
mdiMicrosoftWindows,
|
||||||
mdiTrashCanOutline,
|
mdiTrashCanOutline,
|
||||||
|
mdiUbuntu,
|
||||||
} from '@mdi/js';
|
} from '@mdi/js';
|
||||||
import { DateTime, type ToRelativeCalendarOptions } from 'luxon';
|
import { DateTime, type ToRelativeCalendarOptions } from 'luxon';
|
||||||
import { createEventDispatcher } from 'svelte';
|
import { createEventDispatcher } from 'svelte';
|
||||||
|
|
@ -41,6 +42,8 @@
|
||||||
<Icon path={mdiMicrosoftWindows} size="40" />
|
<Icon path={mdiMicrosoftWindows} size="40" />
|
||||||
{:else if device.deviceOS === 'Linux'}
|
{:else if device.deviceOS === 'Linux'}
|
||||||
<Icon path={mdiLinux} size="40" />
|
<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 device.deviceOS === 'Chromium OS' || device.deviceType === 'Chrome' || device.deviceType === 'Chromium'}
|
||||||
<Icon path={mdiGoogleChrome} size="40" />
|
<Icon path={mdiGoogleChrome} size="40" />
|
||||||
{:else}
|
{:else}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue