Skip to content

Commit

Permalink
Fix team registration displaying for PDS
Browse files Browse the repository at this point in the history
  • Loading branch information
szymsza committed Jan 19, 2022
1 parent 96421ee commit a4bb1da
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/pages/Event.vue
Original file line number Diff line number Diff line change
Expand Up @@ -247,11 +247,6 @@ export default defineComponent({
return;
}
// Individual debater should be hidden on PDS
if (role.id === 1 && this.$isPDS) {
return;
}
// Debater role is present -> push team role
if (role.id === 1) {
this.roles[0] = {
Expand All @@ -261,6 +256,11 @@ export default defineComponent({
};
}
// Individual debater should be hidden on PDS
if (role.id === 1 && this.$isPDS) {
return;
}
this.roles[role.id] = {
value: role.id,
label: role.name,
Expand Down

0 comments on commit a4bb1da

Please sign in to comment.