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.
1 parent 4b99e2d commit 18a96d5Copy full SHA for 18a96d5
site/src/components/WorkspaceStats/WorkspaceStats.tsx
@@ -9,6 +9,7 @@ import {
9
} from "util/workspace"
10
import { Workspace } from "../../api/typesGenerated"
11
import { Stats, StatsItem } from "components/Stats/Stats"
12
+import upperFirst from "lodash/upperFirst"
13
14
const Language = {
15
workspaceDetails: "Workspace Details",
@@ -73,9 +74,13 @@ export const WorkspaceStats: FC<WorkspaceStatsProps> = ({
73
74
/>
75
<StatsItem
76
label={Language.lastBuiltLabel}
- value={createDayString(workspace.latest_build.created_at)}
77
+ value={
78
+ <>
79
+ {upperFirst(createDayString(workspace.latest_build.created_at))} by{" "}
80
+ {initiatedBy}
81
+ </>
82
+ }
83
- <StatsItem label={Language.byLabel} value={initiatedBy} />
84
{workspace.latest_build.daily_cost > 0 && (
85
86
label={Language.costLabel}
0 commit comments