Skip to content

Commit

Permalink
undo change that caused import cy test to pass again (but broke others)
Browse files Browse the repository at this point in the history
  • Loading branch information
mismith committed Apr 23, 2024
1 parent 7881081 commit f52c5f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/Competition.vue
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ export default {
},
competitionExists() {
if (!this.isSecretRoute) {
if (this.competition[valueKey] !== undefined && this.competition[valueKey] !== null) return false;
if (this.competition[valueKey] !== undefined) return false;
if (!this.isCompetitionAdmin && !this.competition.listed) return false;
}
return true;
Expand Down

0 comments on commit f52c5f6

Please sign in to comment.