Skip to content

Commit 9093dbc

Browse files
authored
feat: hide hidden and non-healthy apps in the workspaces table (#17830)
Closes [coder/internal#633](coder/internal#633)
1 parent 789c4be commit 9093dbc

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" && !app.hidden)
631+
.slice(0, remainingSlots);
630632

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

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy