X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=resources%2Fjs%2Fcomponents%2Frounds%2FItem.js;h=0ef77c5d2c5ce6b9bec1c8798ddba6c184b43a77;hb=f18af7cfb219ab9c07635ea8bbae80f2a9cee78e;hp=949eeb2f2ec910e99b94ba9bf0a01c67a5549ba3;hpb=4c5a82cb876e96c72c50e8bc12bd8a43a9afe847;p=alttp.git diff --git a/resources/js/components/rounds/Item.js b/resources/js/components/rounds/Item.js index 949eeb2..0ef77c5 100644 --- a/resources/js/components/rounds/Item.js +++ b/resources/js/components/rounds/Item.js @@ -48,7 +48,7 @@ return
- {round.number ? `#${round.number} ` : '#?'} + {tournament.show_numbers && round.number ? `#${round.number} ` : ''} {t('rounds.date', { date: new Date(round.created_at) })}
@@ -104,6 +104,7 @@ Item.propTypes = { tournament: PropTypes.shape({ participants: PropTypes.arrayOf(PropTypes.shape({ })), + show_numbers: PropTypes.bool, type: PropTypes.string, }), };