From 8a58f4348c2f205fee0bdcceeda42145c9c00d13 Mon Sep 17 00:00:00 2001 From: SpiderMan Date: Wed, 11 May 2022 13:41:59 -0400 Subject: [PATCH] fix: Direct link issue on report/list --- superset/initialization/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/superset/initialization/__init__.py b/superset/initialization/__init__.py index b52612391877d..2cc790a2fc5e0 100644 --- a/superset/initialization/__init__.py +++ b/superset/initialization/__init__.py @@ -145,7 +145,7 @@ def init_views(self) -> None: from superset.reports.logs.api import ReportExecutionLogRestApi from superset.security.api import SecurityRestApi from superset.views.access_requests import AccessRequestsModelView - from superset.views.alerts import AlertView + from superset.views.alerts import AlertView, ReportView from superset.views.annotations import ( AnnotationLayerModelView, AnnotationModelView, @@ -300,6 +300,7 @@ def init_views(self) -> None: appbuilder.add_view_no_menu(TableSchemaView) appbuilder.add_view_no_menu(TabStateView) appbuilder.add_view_no_menu(TagView) + appbuilder.add_view_no_menu(ReportView) # # Add links