fix(ui): ensure /home route correctly activates the inventory theme and navbar

This commit is contained in:
2026-05-08 14:54:55 +02:00
parent 6c73f79866
commit c7cfb0e411
2 changed files with 3 additions and 4 deletions
-2
View File
@@ -434,8 +434,6 @@ def _enforce_module_access():
def _get_current_module(path):
"""Resolve the active UI module for navbar separation."""
# Check if referer indicates we came from library
referrer = request.referrer or ''
if cfg.LIBRARY_MODULE_ENABLED and _is_library_module_path(path):
session['last_module'] = 'library'