From c3a710475330dce9809337e58d6a2cd419a5ec16 Mon Sep 17 00:00:00 2001 From: Vladyslav Palyvoda Date: Fri, 25 Oct 2024 15:54:17 +0300 Subject: [PATCH] fix: Pipeline run message (#452) --- src/components/InfoColumns/index.tsx | 2 +- .../components/Overview/hooks/useInfoRows.tsx | 12 ++++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/components/InfoColumns/index.tsx b/src/components/InfoColumns/index.tsx index ff00a9653..7cea560d3 100644 --- a/src/components/InfoColumns/index.tsx +++ b/src/components/InfoColumns/index.tsx @@ -31,7 +31,7 @@ export const InfoColumns = ({ infoRows }: InfoColumnsProps) => { {text} diff --git a/src/pages/pipeline-details/components/Overview/hooks/useInfoRows.tsx b/src/pages/pipeline-details/components/Overview/hooks/useInfoRows.tsx index 4742d7a0c..c81d320bc 100644 --- a/src/pages/pipeline-details/components/Overview/hooks/useInfoRows.tsx +++ b/src/pages/pipeline-details/components/Overview/hooks/useInfoRows.tsx @@ -75,10 +75,7 @@ export const useInfoRows = (): InfoRow[] | null => { ), }, - { - label: 'Tasks completed', - text: statusObject.message?.split('Tasks Completed: ')[1], - }, + { label: 'Started at', text: statusObject.startedAt, @@ -92,6 +89,13 @@ export const useInfoRows = (): InfoRow[] | null => { text: statusObject.updatedLast, }, ], + [ + { + label: 'Message', + text: statusObject.message, + columnXs: 12, + }, + ], [ { label: 'Labels',