X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;ds=sidebyside;f=resources%2Fjs%2Fcomponents%2Frounds%2FItem.js;h=817069f98dc1fb7552188ed0cbfcb80a9d326dcd;hb=5dc7faa01ad96732b0ea126e945f215a9d0490af;hp=92f55a06791098adda7b299ebf241665874ccdff;hpb=4f4b2fd64141cbbff953881e2705602a00b85df5;p=alttp.git diff --git a/resources/js/components/rounds/Item.js b/resources/js/components/rounds/Item.js index 92f55a0..817069f 100644 --- a/resources/js/components/rounds/Item.js +++ b/resources/js/components/rounds/Item.js @@ -51,7 +51,7 @@ const Item = ({ {i18n.t('rounds.date', { date: new Date(round.created_at) })}
- {round.code ?
+ {round.code && round.code.length ?
<>
@@ -73,6 +73,9 @@ const Item = ({
/>
{i18n.t('rounds.numberOfResults', { count: round.results.length })}
+ : null}