From 84a96d735046e5e3ce6c9009f1e6ff80dde4d361 Mon Sep 17 00:00:00 2001 From: Smart-Codi Date: Wed, 11 May 2022 15:21:40 -0400 Subject: [PATCH] fix: Direct link issue on report/list (#20033) (cherry picked from commit 9cf9f97a0cee74bc642e297a3bdb089e70fffe57) --- 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