From a79ab481cfe85a960883fbbbdae46c7d33fb7018 Mon Sep 17 00:00:00 2001 From: Grace Guo Date: Wed, 23 Sep 2020 15:42:06 -0700 Subject: [PATCH] fix: dashboard edit button (again) (#11029) --- superset-frontend/src/dashboard/components/Header.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/superset-frontend/src/dashboard/components/Header.jsx b/superset-frontend/src/dashboard/components/Header.jsx index 615b078d2a0fc..596bd19d32726 100644 --- a/superset-frontend/src/dashboard/components/Header.jsx +++ b/superset-frontend/src/dashboard/components/Header.jsx @@ -437,13 +437,12 @@ class Header extends React.PureComponent { /> )} - {!editMode && ( + {!editMode && userCanEdit && (