Content-Length: 268144 | pFad | https://github.com/coder/coder/commit/9093dbc5160e7eab51486ec200e73cc08b71ac4b

85 feat: hide hidden and non-healthy apps in the workspaces table (#17830) · coder/coder@9093dbc · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/coder/coder/commit/9093dbc5160e7eab51486ec200e73cc08b71ac4b

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy