From c646ae15ee265ed003c7dbf699373c25073fe271 Mon Sep 17 00:00:00 2001 From: Michel ten Voorde Date: Thu, 6 Nov 2025 23:00:00 +0100 Subject: [PATCH] Optionally disable starting a match and show reason --- .../tournament-manage.component.html | 17 ++- .../tournament-manage.component.ts | 143 +++++++++++++----- src/app/model/match.ts | 2 + src/styles.css | 3 + 4 files changed, 120 insertions(+), 45 deletions(-) diff --git a/src/app/components/tournament-manage/tournament-manage.component.html b/src/app/components/tournament-manage/tournament-manage.component.html index 603c8ec..d7cef49 100644 --- a/src/app/components/tournament-manage/tournament-manage.component.html +++ b/src/app/components/tournament-manage/tournament-manage.component.html @@ -323,10 +323,19 @@ @if (match.status == 'NOT_STARTED') { - + @if (match.canStart) { + + } @else { + + + + } } @else if (match.status == 'IN_PROGRESS') {