From 0a05adcb147dfed12c5eedacb3c8024805ef5579 Mon Sep 17 00:00:00 2001 From: Grace Date: Wed, 23 Sep 2020 15:04:29 -0700 Subject: [PATCH] fix: dashboard edit button (again) --- 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 && (