Skip to content

Commit

Permalink
fix(ui): empty freight value in column (#3486)
Browse files Browse the repository at this point in the history
Signed-off-by: Mayursinh Sarvaiya <[email protected]>
  • Loading branch information
Marvin9 authored Feb 11, 2025
1 parent 4e5d4bc commit 9e280c2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion ui/src/features/stage/stage-details.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ export const StageDetails = ({ stage }: { stage: Stage }) => {
setIsVerificationRunning(true);
}
return {
...verification
...verification,
freight
} as VerificationInfo;
})
)
Expand Down
5 changes: 3 additions & 2 deletions ui/src/features/stage/verifications.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,9 @@ export const Verifications = ({ verifications, images }: Props) => {
/>
<Table.Column
title='Freight'
dataIndex='freight'
render={(val) => val?.substring(0, 7)}
render={(val) => {
return val?.id?.substring(0, 7);
}}
width={120}
/>
</Table>
Expand Down

0 comments on commit 9e280c2

Please sign in to comment.