From 40453a82212c420bdeb75313fc02f1ea1249d77a Mon Sep 17 00:00:00 2001 From: "Michael S. molina" Date: Wed, 5 Apr 2023 13:42:07 -0300 Subject: [PATCH] Fixes bug --- .../HeaderReportDropdown/index.tsx | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/superset-frontend/src/components/ReportModal/HeaderReportDropdown/index.tsx b/superset-frontend/src/components/ReportModal/HeaderReportDropdown/index.tsx index 7db55f15c1966..f5e6dc8eac183 100644 --- a/superset-frontend/src/components/ReportModal/HeaderReportDropdown/index.tsx +++ b/superset-frontend/src/components/ReportModal/HeaderReportDropdown/index.tsx @@ -273,7 +273,17 @@ export default function HeaderReportDropDown({ ); const iconMenu = () => - report ? ( + isEmpty(report) ? ( + setShowModal(true)} + > + + + ) : ( <> - ) : ( - setShowModal(true)} - > - - ); return (