From 8b4cd90ac930f127f65515c2d81b05b0ce8b1467 Mon Sep 17 00:00:00 2001 From: lyndsiWilliams Date: Thu, 5 Jan 2023 19:09:39 -0600 Subject: [PATCH] Remove filter bar from reports --- .../DashboardBuilder/DashboardBuilder.tsx | 24 ++++++++++--------- superset/utils/screenshots.py | 2 +- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/superset-frontend/src/dashboard/components/DashboardBuilder/DashboardBuilder.tsx b/superset-frontend/src/dashboard/components/DashboardBuilder/DashboardBuilder.tsx index d2ce6a2f1a3e..2dc2f3c27c6c 100644 --- a/superset-frontend/src/dashboard/components/DashboardBuilder/DashboardBuilder.tsx +++ b/superset-frontend/src/dashboard/components/DashboardBuilder/DashboardBuilder.tsx @@ -452,17 +452,19 @@ const DashboardBuilder: FC = () => { > - + {!isReport && ( + + )} diff --git a/superset/utils/screenshots.py b/superset/utils/screenshots.py index c81ede6dc195..741bc9ea5fa9 100644 --- a/superset/utils/screenshots.py +++ b/superset/utils/screenshots.py @@ -212,7 +212,7 @@ def __init__( class DashboardScreenshot(BaseScreenshot): thumbnail_type: str = "dashboard" - element: str = "grid-container" + element: str = "standalone" def __init__( self,