From 48fb0f309deaaf9bfdde0d94c6057d49800edca6 Mon Sep 17 00:00:00 2001
From: Spencer Fasulo <92827970+spfncer@users.noreply.github.com>
Date: Thu, 29 Aug 2024 23:14:05 -0400
Subject: [PATCH] fix(web): Device list shows Ubuntu as unknown OS (#12127)

Co-authored-by: Spencer Fasulo <spencer.fasulo@icloud.com>
---
 web/src/lib/components/user-settings-page/device-card.svelte | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/web/src/lib/components/user-settings-page/device-card.svelte b/web/src/lib/components/user-settings-page/device-card.svelte
index 57daeed54f..676e984364 100644
--- a/web/src/lib/components/user-settings-page/device-card.svelte
+++ b/web/src/lib/components/user-settings-page/device-card.svelte
@@ -12,6 +12,7 @@
     mdiLinux,
     mdiMicrosoftWindows,
     mdiTrashCanOutline,
+    mdiUbuntu,
   } from '@mdi/js';
   import { DateTime, type ToRelativeCalendarOptions } from 'luxon';
   import { createEventDispatcher } from 'svelte';
@@ -41,6 +42,8 @@
       <Icon path={mdiMicrosoftWindows} size="40" />
     {:else if device.deviceOS === 'Linux'}
       <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'}
       <Icon path={mdiGoogleChrome} size="40" />
     {:else}