Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
make fmt
1 parent a8e9c7b commit 8df43c4Copy full SHA for 8df43c4
site/src/pages/WorkspacePage/Workspace.tsx
@@ -354,13 +354,15 @@ export const Workspace: FC<WorkspaceProps> = ({
354
color: theme.palette.text.secondary,
355
}}
356
>
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
- )}{" "}
+ {
+ // Calculate total status count
+ selectedResource.agents
+ ?.flatMap((agent) => agent.apps ?? [])
+ .reduce(
+ (count, app) => count + (app.statuses?.length ?? 0),
+ 0,
364
+ )
365
+ }{" "}
366
Total
367
</div>
368
0 commit comments