diff --git a/frontend/src/components/tournament/TournamentWorkspaceHeader.vue b/frontend/src/components/tournament/TournamentWorkspaceHeader.vue index 9154f0c2..c932f16f 100644 --- a/frontend/src/components/tournament/TournamentWorkspaceHeader.vue +++ b/frontend/src/components/tournament/TournamentWorkspaceHeader.vue @@ -1,5 +1,5 @@ @@ -75,6 +85,259 @@ export default { resultsSubTab: { type: String, required: true }, isGroupTournament: { type: Boolean, default: false } }, - emits: ['navigate-status', 'quick-action', 'set-active-tab', 'set-results-sub-tab'] + emits: ['navigate-status', 'quick-action', 'set-active-tab', 'set-results-sub-tab'], + computed: { + highlightStatusChips() { + return (this.workspaceStatusChips || []).filter(status => status.tone === 'warning' || status.quickAction); + } + }, + methods: { + openResultsMatches() { + this.$emit('set-active-tab', 'results'); + this.$emit('set-results-sub-tab', 'matches'); + }, + openResultsPlacements() { + this.$emit('set-active-tab', 'results'); + this.$emit('set-results-sub-tab', 'placements'); + } + } }; + +