Skip to content

Commit

Permalink
chore: Adjust distinguished-winners feature name
Browse files Browse the repository at this point in the history
  • Loading branch information
moritzsternemann committed Mar 27, 2024
1 parent ea9ebbb commit 8adec87
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/ProfileSubmission.vue
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ export default class ProfileSubmission extends Vue {
}
get yearHasDistinguishedWinnerFeature(): boolean {
return this.wwdcYear?.hasFeature('distinguished-winner') ?? false
return this.wwdcYear?.hasFeature('distinguished-winners') ?? false
}
get formData(): {
Expand Down
2 changes: 1 addition & 1 deletion components/profile/ProfileFormSubmission.vue
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class ProfileFormSubmission extends Vue {
]
get yearHasDistinguishedWinnerFeature(): boolean {
return this.features.includes('distinguished-winner')
return this.features.includes('distinguished-winners')
}
}
Expand Down
2 changes: 1 addition & 1 deletion pages/s/_id/_year.vue
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export default class ScholarProfileSubmission extends Vue {
if (!this.wwdcYear) return false
const submissionIsDistinguishedWinner = this.yearInfo?.isDistinguishedWinner ?? false
return this.wwdcYear.hasFeature('distinguished-winner') && submissionIsDistinguishedWinner
return this.wwdcYear.hasFeature('distinguished-winners') && submissionIsDistinguishedWinner
}
get media(): object[] {
Expand Down

0 comments on commit 8adec87

Please sign in to comment.