From b15ea807deab599b92a0646a24689063d51b00de Mon Sep 17 00:00:00 2001 From: stu Date: Sun, 17 Sep 2023 20:43:10 +0800 Subject: [PATCH] routing: tweak to force launch global --- client_code/routing/_router.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client_code/routing/_router.py b/client_code/routing/_router.py index dfd40fff..beda7a97 100644 --- a/client_code/routing/_router.py +++ b/client_code/routing/_router.py @@ -112,8 +112,7 @@ def launch(): template_instance = get_open_form() current_template = type(template_instance) - if template_instance is None or current_template not in _templates: - _force_launch = True + _force_launch = template_instance is None or current_template not in _templates if _queued: # only run the last _queued navigation