Skip to content

Commit

Permalink
fix(ui): display 0 instead of null when condition is falsy (#2605)
Browse files Browse the repository at this point in the history
Signed-off-by: Mayursinh Sarvaiya <[email protected]>
  • Loading branch information
Marvin9 authored Sep 30, 2024
1 parent 022c431 commit b4cf8ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/features/project/pipelines/pipelines.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ export const Pipelines = ({
<FontAwesomeIcon icon={faChevronDown} size='xs' className='-mr-2' />
</Button>
</Dropdown>
{hideImages && (
{!!hideImages && (
<Tooltip title='Show Images'>
<Button
icon={<FontAwesomeIcon icon={faDocker} />}
Expand Down

0 comments on commit b4cf8ca

Please sign in to comment.