Skip to content

Commit 7031578

Browse files
committed
Add status message to match state bar
1 parent f0aa07e commit 7031578

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

frontend/src/components/MatchStateToolbar.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ const currentActionTime = computed(() => {
4040
const goals = (team: Team) => {
4141
return store.matchState.teamState![team].goals!
4242
}
43+
const statusMessage = computed(() => {
44+
return store.matchState.statusMessage
45+
})
4346
</script>
4447

4548
<template>
@@ -51,6 +54,9 @@ const goals = (team: Team) => {
5154
<template v-if="currentActionTime">
5255
({{ currentActionTime }} left)
5356
</template>
57+
<template v-if="statusMessage">
58+
({{ statusMessage }})
59+
</template>
5460
</div>
5561

5662
<div class="col-grow">

0 commit comments

Comments
 (0)