File tree 1 file changed +8
-10
lines changed
site/src/pages/WorkspacePage
1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -274,7 +274,7 @@ export const Workspace: FC<WorkspaceProps> = ({
274
274
// child of another agent. We do not want these agents
275
275
// to be displayed at the top-level on this page. We
276
276
// want them to display _as children_ of their parents.
277
- ?. filter ( ( agent ) => agent . parent_id ! == null )
277
+ ?. filter ( ( agent ) => agent . parent_id = == null )
278
278
. map ( ( agent ) => (
279
279
< AgentRow
280
280
key = { agent . id }
@@ -354,15 +354,13 @@ export const Workspace: FC<WorkspaceProps> = ({
354
354
color : theme . palette . text . secondary ,
355
355
} }
356
356
>
357
- {
358
- // Calculate total status count
359
- selectedResource . agents
360
- ?. flatMap ( ( agent ) => agent . apps ?? [ ] )
361
- . reduce (
362
- ( count , app ) => count + ( app . statuses ?. length ?? 0 ) ,
363
- 0 ,
364
- )
365
- } { " " }
357
+ { // Calculate total status count
358
+ selectedResource . agents
359
+ ?. flatMap ( ( agent ) => agent . apps ?? [ ] )
360
+ . reduce (
361
+ ( count , app ) => count + ( app . statuses ?. length ?? 0 ) ,
362
+ 0 ,
363
+ ) } { " " }
366
364
Total
367
365
</ div >
368
366
</ div >
You can’t perform that action at this time.
0 commit comments