Skip to content

Commit c3a7104

Browse files
committed
fix: Pipeline run message (#452)
1 parent 8218bf9 commit c3a7104

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

src/components/InfoColumns/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export const InfoColumns = ({ infoRows }: InfoColumnsProps) => {
3131
<Typography
3232
fontSize={13}
3333
color="secondary.dark"
34-
sx={{ lineHeight: 1, wordBreak: 'break-word' }}
34+
sx={{ wordBreak: 'break-word' }}
3535
>
3636
{text}
3737
</Typography>

src/pages/pipeline-details/components/Overview/hooks/useInfoRows.tsx

+8-4
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,7 @@ export const useInfoRows = (): InfoRow[] | null => {
7575
</Stack>
7676
),
7777
},
78-
{
79-
label: 'Tasks completed',
80-
text: statusObject.message?.split('Tasks Completed: ')[1],
81-
},
78+
8279
{
8380
label: 'Started at',
8481
text: statusObject.startedAt,
@@ -92,6 +89,13 @@ export const useInfoRows = (): InfoRow[] | null => {
9289
text: statusObject.updatedLast,
9390
},
9491
],
92+
[
93+
{
94+
label: 'Message',
95+
text: statusObject.message,
96+
columnXs: 12,
97+
},
98+
],
9599
[
96100
{
97101
label: 'Labels',

0 commit comments

Comments
 (0)