From fb6f7ee191554816581c955cfdfbb1a932981c77 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Fri, 22 Sep 2023 01:53:53 +0200 Subject: [PATCH] Themes: add condition that hoops are only asked on basketball courts, fix #1577 --- assets/layers/sport_pitch/sport_pitch.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/assets/layers/sport_pitch/sport_pitch.json b/assets/layers/sport_pitch/sport_pitch.json index 783bbe45d..40fb433b1 100644 --- a/assets/layers/sport_pitch/sport_pitch.json +++ b/assets/layers/sport_pitch/sport_pitch.json @@ -214,7 +214,8 @@ }, "hideInAnswer": true } - ] + ], + "condition": "sport~(^|.*;)basketball(;.*|$)" }, { "question": {