From 9589f8059b33cb20bb265f5209a615962d3e938e Mon Sep 17 00:00:00 2001 From: Mayursinh Sarvaiya Date: Wed, 12 Feb 2025 04:38:58 +0530 Subject: [PATCH] fix(ui): empty freight value in column (#3486) Signed-off-by: Mayursinh Sarvaiya (cherry picked from commit 9e280c24f344dc1735d7a5672c87669c67df6dda) --- ui/src/features/stage/stage-details.tsx | 3 ++- ui/src/features/stage/verifications.tsx | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/ui/src/features/stage/stage-details.tsx b/ui/src/features/stage/stage-details.tsx index dab124f67..fd5fd2be8 100644 --- a/ui/src/features/stage/stage-details.tsx +++ b/ui/src/features/stage/stage-details.tsx @@ -48,7 +48,8 @@ export const StageDetails = ({ stage }: { stage: Stage }) => { setIsVerificationRunning(true); } return { - ...verification + ...verification, + freight } as VerificationInfo; }) ) diff --git a/ui/src/features/stage/verifications.tsx b/ui/src/features/stage/verifications.tsx index 9f6be021c..e486a1df1 100644 --- a/ui/src/features/stage/verifications.tsx +++ b/ui/src/features/stage/verifications.tsx @@ -117,8 +117,9 @@ export const Verifications = ({ verifications, images }: Props) => { /> val?.substring(0, 7)} + render={(val) => { + return val?.id?.substring(0, 7); + }} width={120} />