mirror of https://github.com/apache/superset.git
fix(menu): links that result in 404s (#13283)
This commit is contained in:
parent
1e2ea36e70
commit
a646914493
|
@ -369,7 +369,7 @@ class SupersetAppInitializer:
|
|||
appbuilder.add_link(
|
||||
"Upload a CSV",
|
||||
label=__("Upload a CSV"),
|
||||
href="/csvtodatabaseview/form/",
|
||||
href="/csvtodatabaseview/form",
|
||||
icon="fa-upload",
|
||||
category="Data",
|
||||
category_label=__("Data"),
|
||||
|
@ -384,7 +384,7 @@ class SupersetAppInitializer:
|
|||
appbuilder.add_link(
|
||||
"Upload Excel",
|
||||
label=__("Upload Excel"),
|
||||
href="/exceltodatabaseview/form/",
|
||||
href="/exceltodatabaseview/form",
|
||||
icon="fa-upload",
|
||||
category="Data",
|
||||
category_label=__("Data"),
|
||||
|
|
|
@ -620,7 +620,7 @@ class Superset(BaseSupersetView): # pylint: disable=too-many-public-methods
|
|||
|
||||
@has_access
|
||||
@event_logger.log_this
|
||||
@expose("/import_dashboards", methods=["GET", "POST"])
|
||||
@expose("/import_dashboards/", methods=["GET", "POST"])
|
||||
def import_dashboards(self) -> FlaskResponse:
|
||||
"""Overrides the dashboards using json instances from the file."""
|
||||
import_file = request.files.get("file")
|
||||
|
|
Loading…
Reference in New Issue