From 29cfeb1e3b2aaa9d4357c1b73635da488cd8c71f Mon Sep 17 00:00:00 2001 From: Aevann Date: Sat, 5 Aug 2023 13:44:26 +0300 Subject: [PATCH] get shop icon to be highlighted when we're on the hats tab too --- files/routes/jinja2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/jinja2.py b/files/routes/jinja2.py index fb511dabb..fc5a18b2e 100644 --- a/files/routes/jinja2.py +++ b/files/routes/jinja2.py @@ -69,7 +69,7 @@ def selected_tab(request): return 'casino' elif request.path == '/chat': return 'chat' - elif request.path=='/shop/awards': + elif request.path.startswith('/shop/'): return 'shop' return 'home'