Skip to content

Commit 8df43c4

Browse files
chore: make fmt
1 parent a8e9c7b commit 8df43c4

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

site/src/pages/WorkspacePage/Workspace.tsx

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -354,13 +354,15 @@ export const Workspace: FC<WorkspaceProps> = ({
354354
color: theme.palette.text.secondary,
355355
}}
356356
>
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-
)}{" "}
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+
}{" "}
364366
Total
365367
</div>
366368
</div>

0 commit comments

Comments
 (0)