Skip to content

Commit 643e184

Browse files
committed
feat: omit non-healthy apps from workspaces table
1 parent 4d00b76 commit 643e184

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

site/src/pages/WorkspacesPage/WorkspacesTable.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,9 @@ const WorkspaceApps: FC<WorkspaceAppsProps> = ({ workspace }) => {
626626
builtinApps.delete("ssh_helper");
627627

628628
const remainingSlots = WORKSPACE_APPS_SLOTS - builtinApps.size;
629-
const userApps = agent.apps.slice(0, remainingSlots);
629+
const userApps = agent.apps
630+
.filter((app) => app.health === "healthy")
631+
.slice(0, remainingSlots);
630632

631633
const buttons: ReactNode[] = [];
632634

0 commit comments

Comments
 (0)