Skip to content

Commit b1ce074

Browse files
committed
Fix non icon
1 parent 74d6358 commit b1ce074

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

site/src/pages/WorkspacesPage/WorkspacesTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,7 @@ const IconAppLink: FC<IconAppLinkProps> = ({ app, workspace, agent }) => {
753753
href={link.href}
754754
onClick={link.onClick}
755755
>
756-
<ExternalImage src={app.icon} />
756+
<ExternalImage src={app.icon ?? "/icon/widgets.svg"} />
757757
</BaseIconLink>
758758
);
759759
};

site/src/testHelpers/entities.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -896,17 +896,10 @@ export const MockWorkspaceApp: TypesGen.WorkspaceApp = {
896896
id: "test-app",
897897
slug: "test-app",
898898
display_name: "Test App",
899-
icon: "",
900899
subdomain: false,
901900
health: "disabled",
902901
external: false,
903-
url: "",
904902
sharing_level: "owner",
905-
healthcheck: {
906-
url: "",
907-
interval: 0,
908-
threshold: 0,
909-
},
910903
hidden: false,
911904
open_in: "slim-window",
912905
statuses: [],

0 commit comments

Comments
 (0)