Skip to content

Commit c1285ce

Browse files
committed
Allow switching timeout request off when no timeouts left
1 parent d15423d commit c1285ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/components/team/TimeoutRequestInput.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const model = computed(() => {
1717
})
1818
1919
const disable = computed(() => {
20-
return store.matchState.teamState![props.team].timeoutsLeft! <= 0
20+
return !model.value && store.matchState.teamState![props.team].timeoutsLeft! <= 0
2121
})
2222
2323
const onChange = (newValue: boolean) => {

0 commit comments

Comments
 (0)