Skip to content

Commit

Permalink
Final log removes and team edits
Browse files Browse the repository at this point in the history
  • Loading branch information
slmnio committed Jun 17, 2023
1 parent 7343c11 commit c845d7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 19 deletions.
16 changes: 0 additions & 16 deletions website/src/views/sub-views/TeamMainPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,6 @@ export default {
return this.team.event?.show_public_team_details || false;
}
},
watch: {
team: {
handler(t) {
console.log(t);
console.log({ team: t, event: t.event, tL: t.__loading, eL: t.event?.__loading });
},
immediate: true,
deep: true
},
showPublicTeamDetails: {
handler(now) {
console.log("--> pub details show", now);
},
immediate: true
}
}
};
</script>
Expand Down
5 changes: 2 additions & 3 deletions website/src/views/sub-views/TeamPublicDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<th>Battletag</th>
</tr>
<tr v-for="player in players" :key="player.id">
<td class="role" :title="player.role" v-b-tooltip><RoleIcon :role="player.role" /></td>
<td class="role" :title="player.role" v-b-tooltip><RoleIcon class="flex-center" :role="player.role" /></td>
<td>
<i v-if="player.is_captain" class="fas fa-fw fa-user-crown mr-1 text-warning" :title="'Captain' + (player.highlight_role ? ', ' + player.highlight_role : '')" v-b-tooltip></i>
<i v-else-if="player.highlight_role" class="fas fa-fw fa-star mr-1 text-warning" :title="player.highlight_role" v-b-tooltip></i>
Expand All @@ -22,7 +22,7 @@
<td colspan="4"></td>
</tr>
<tr v-for="staff in staff" :key="staff.id">
<td class="role" :title="staff.staff_role || 'Staff'" v-b-tooltip><RoleIcon :role="staff.staff_role || 'Staff'" /></td>
<td class="role" :title="staff.staff_role || 'Staff'" v-b-tooltip><RoleIcon class="flex-center" :role="staff.staff_role || 'Staff'" /></td>
<td>
<i v-if="staff.highlight_role" class="fas fa-fw fa-star mr-1 text-warning" :title="staff.highlight_role" v-b-tooltip></i>
{{ staff?.name }}
Expand Down Expand Up @@ -55,7 +55,6 @@ export default {
...player,
is_captain: player.is_captain || this.isCaptain(player)
})).sort((a, b) => {
console.log(a.highlight_role, b.highlight_role);
if (a.is_captain && !b.is_captain) return -1;
if (b.is_captain && !a.is_captain) return 1;
Expand Down

0 comments on commit c845d7c

Please sign in to comment.