From a4e9a99f82d09b16d3a164d6c20af23d8acee9be Mon Sep 17 00:00:00 2001 From: Jas Singh Date: Mon, 17 Mar 2025 20:54:38 -0700 Subject: [PATCH] Fix: Added a fallback workspace icon for applications. (#845) --- src/components/bar/modules/workspaces/helpers/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/bar/modules/workspaces/helpers/utils.ts b/src/components/bar/modules/workspaces/helpers/utils.ts index 122a6d7..d861198 100644 --- a/src/components/bar/modules/workspaces/helpers/utils.ts +++ b/src/components/bar/modules/workspaces/helpers/utils.ts @@ -144,7 +144,7 @@ export const getAppIcon = ( return new RegExp(matcher, 'i').test(clientClass); }); - return iconEntry?.[1]; + return iconEntry?.[1] ?? defaultIcon; }; let icons = workspaceClients.reduce((iconAccumulator, [clientClass, clientTitle]) => {