mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +00:00
feat: hide hidden and non-healthy apps in the workspaces table (#17830)
Closes [coder/internal#633](https://github.com/coder/internal/issues/633)
This commit is contained in:
@ -626,7 +626,9 @@ const WorkspaceApps: FC<WorkspaceAppsProps> = ({ workspace }) => {
|
||||
builtinApps.delete("ssh_helper");
|
||||
|
||||
const remainingSlots = WORKSPACE_APPS_SLOTS - builtinApps.size;
|
||||
const userApps = agent.apps.slice(0, remainingSlots);
|
||||
const userApps = agent.apps
|
||||
.filter((app) => app.health === "healthy" && !app.hidden)
|
||||
.slice(0, remainingSlots);
|
||||
|
||||
const buttons: ReactNode[] = [];
|
||||
|
||||
|
Reference in New Issue
Block a user