From 66e9a2e1a52e417a47efb62aec37d271fb846637 Mon Sep 17 00:00:00 2001 From: Felix Hamme Date: Fri, 8 Nov 2019 18:19:53 +0100 Subject: [PATCH] Fullscreen page: add message when there are no matches --- pages/tournament-fullscreen.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pages/tournament-fullscreen.js b/pages/tournament-fullscreen.js index 84a7c7b..16a7be0 100644 --- a/pages/tournament-fullscreen.js +++ b/pages/tournament-fullscreen.js @@ -26,6 +26,8 @@ function Matches(props) { lade Matches ); + } else if (props.matches.length === 0) { + matches = (
keine Matches
); } else { matches = ( {props.matches.map(match => )}