mirror of
https://github.com/apache/superset.git
synced 2026-04-20 08:34:37 +00:00
Removing some dividers to make header dropdown menus more consistent (#8857)
* separators removed, "childs" changed to "children" * changing `children` back to `childs`... it's baked in somewhere in Fab * linting * reverting changes to MenuObject * adding separator above Druid menu items
This commit is contained in:
committed by
Maxime Beauchemin
parent
cd8aa92cbb
commit
b6639504b6
@@ -409,6 +409,9 @@ class Druid(BaseSupersetView):
|
||||
|
||||
|
||||
if app.config["DRUID_IS_ACTIVE"]:
|
||||
|
||||
appbuilder.add_separator("Sources")
|
||||
|
||||
appbuilder.add_view(
|
||||
DruidDatasourceModelView,
|
||||
"Druid Datasources",
|
||||
|
||||
@@ -438,5 +438,3 @@ appbuilder.add_link(
|
||||
category_label=__("Sources"),
|
||||
category_icon="fa-table",
|
||||
)
|
||||
|
||||
appbuilder.add_separator("Sources")
|
||||
|
||||
@@ -3018,7 +3018,6 @@ class CssTemplateAsyncModelView(CssTemplateModelView):
|
||||
list_columns = ["template_name", "css"]
|
||||
|
||||
|
||||
appbuilder.add_separator("Sources")
|
||||
appbuilder.add_view(
|
||||
CssTemplateModelView,
|
||||
"CSS Templates",
|
||||
@@ -3061,7 +3060,6 @@ appbuilder.add_link(
|
||||
category_label=__("Sources"),
|
||||
category_icon="fa-wrench",
|
||||
)
|
||||
appbuilder.add_separator("Sources")
|
||||
|
||||
|
||||
@app.after_request
|
||||
|
||||
Reference in New Issue
Block a user