X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=resources%2Fjs%2Fcomponents%2Frounds%2FLockDialog.js;h=6174dbf9f8474ccfeea999e5202363079f10deae;hb=3213c82ad2dd75e313d15423e25653596c7ce278;hp=690e85c71d5c9dfd3c97bf84031541a611616b4c;hpb=d1f28ea443b090c7593791eba9631796ccaeafe1;p=alttp.git diff --git a/resources/js/components/rounds/LockDialog.js b/resources/js/components/rounds/LockDialog.js index 690e85c..6174dbf 100644 --- a/resources/js/components/rounds/LockDialog.js +++ b/resources/js/components/rounds/LockDialog.js @@ -25,7 +25,7 @@ const LockDialog = ({ ? 'rounds.unlockDescription' : 'rounds.lockDescription')}

- {!round.locked && !isComplete(tournament, round) ? + {!round.locked && tournament.type === 'signup-async' && !isComplete(tournament, round) ? {i18n.t('rounds.lockIncompleteWarning')} @@ -72,6 +72,7 @@ LockDialog.propTypes = { }), show: PropTypes.bool, tournament: PropTypes.shape({ + type: PropTypes.string, }), };