Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9093dbc

Browse files
authored
feat: hide hidden and non-healthy apps in the workspaces table (#17830)
Closes[coder/internal#633](coder/internal#633)
1 parent789c4be commit9093dbc

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
constremainingSlots=WORKSPACE_APPS_SLOTS-builtinApps.size;
629-
constuserApps=agent.apps.slice(0,remainingSlots);
629+
constuserApps=agent.apps
630+
.filter((app)=>app.health==="healthy"&&!app.hidden)
631+
.slice(0,remainingSlots);
630632

631633
constbuttons:ReactNode[]=[];
632634

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp