Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
DEVPROD-920: Conditionally render base status badge (#2128)
Browse files Browse the repository at this point in the history
  • Loading branch information
sophstad authored Oct 31, 2023
1 parent 2d8f306 commit d4e7da5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/pages/task/taskTabs/testsTable/getColumnsTemplate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,8 @@ export const getColumnsTemplate = ({
},
}),
sorter: true,
render: (status: string): JSX.Element => (
<TestStatusBadge status={status} />
),
render: (status: string): JSX.Element =>
status && <TestStatusBadge status={status} />,
},
{
title: <span data-cy="time-column">Time</span>,
Expand Down

0 comments on commit d4e7da5

Please sign in to comment.