File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
frontend/src/components/products-list Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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
@@ -88,7 +88,7 @@ export const TicketRow = ({
8888 </ Tag >
8989 ) : null }
9090 </ TagsCollection >
91- { hasTags && < Spacer size = "xs" /> }
91+ { hasTags ? < Spacer size = "xs" /> : null }
9292
9393 < Text size = { 2 } > { compile ( ticket . description ) . tree } </ Text >
9494 </ CardPart >
You can’t perform that action at this time.
0 commit comments