mirror of
https://github.com/apache/superset.git
synced 2026-04-18 23:55:00 +00:00
fix: Broken menu links to datasets and sql lab (#33114)
This commit is contained in:
committed by
GitHub
parent
05faf2f352
commit
3c1fc0b722
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user