Skip to content

Commit 546bfc4

Browse files
committed
Fix "0" text in the tickets row
1 parent 6525807 commit 546bfc4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/src/components/products-list/ticket-row.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export const TicketRow = ({
6767
{ticket.description && (
6868
<CardPart contentAlign="left" background="milk" id="content">
6969
<TagsCollection>
70-
{ticket.availableUntil && (
70+
{ticket.availableUntil ? (
7171
<Tag color="success">
7272
<FormattedMessage
7373
id="order.availableUntil"
@@ -76,7 +76,7 @@ export const TicketRow = ({
7676
}}
7777
/>
7878
</Tag>
79-
)}
79+
) : null}
8080
{ticket.quantityLeft > 0 ? (
8181
<Tag color="yellow">
8282
<FormattedMessage

0 commit comments

Comments
 (0)