fix(ui): ensure /home route correctly activates the inventory theme and navbar
This commit is contained in:
@@ -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'
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
services:
|
||||
# Management Container for multi-tenant scripts
|
||||
tenant-manager:
|
||||
image: docker:cli
|
||||
image: python:3.12-alpine
|
||||
container_name: tenant-manager
|
||||
restart: "no"
|
||||
profiles:
|
||||
@@ -19,7 +19,8 @@ services:
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- .:/workspace
|
||||
entrypoint: ["sh", "-c", "cd /workspace && ./manage-tenant.sh \"$$@\"", "--"]
|
||||
entrypoint: >
|
||||
sh -c "apk add --no-cache bash docker-cli && cd /workspace && ./manage-tenant.sh \"$$@\"" --
|
||||
|
||||
redis:
|
||||
image: redis:7-alpine
|
||||
|
||||
Reference in New Issue
Block a user