fix: Broken menu links to datasets and sql lab (#33114)

This commit is contained in:
Kamil Gabryjelski
2025-04-13 21:31:21 +02:00
committed by GitHub
parent 05faf2f352
commit 3c1fc0b722

View File

@@ -226,6 +226,9 @@ class SupersetAppInitializer: # pylint: disable=too-many-public-methods
# Setup regular views
#
app_root = appbuilder.app.config["APPLICATION_ROOT"]
if app_root.endswith("/"):
app_root = app_root.rstrip("/")
appbuilder.add_link(
"Home",
label=__("Home"),