Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 548deaa

Browse files
chore: make fmt
1 parent 79de869 commit 548deaa

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
@@ -355,13 +355,15 @@ export const Workspace: FC<WorkspaceProps> = ({
355355
color: theme.palette.text.secondary,
356356
}}
357357
>
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-
)}{" "}
358+
{
359+
// Calculate total status count
360+
selectedResource.agents
361+
?.flatMap((agent) => agent.apps ?? [])
362+
.reduce(
363+
(count, app) => count + (app.statuses?.length ?? 0),
364+
0,
365+
)
366+
}{" "}
365367
Total
366368
</div>
367369
</div>

0 commit comments

Comments
 (0)