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

DEVPROD-920: Conditionally render base status badge #2128

Merged
merged 1 commit into from
Oct 31, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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