mirror of https://github.com/apache/superset.git
fix: dashboard edit button (again) (#11029)
This commit is contained in:
parent
dc76a2688e
commit
8e9b0b3f11
|
@ -437,13 +437,12 @@ class Header extends React.PureComponent {
|
|||
/>
|
||||
)}
|
||||
|
||||
{!editMode && (
|
||||
{!editMode && userCanEdit && (
|
||||
<span
|
||||
role="button"
|
||||
tabIndex={0}
|
||||
className="action-button"
|
||||
onClick={this.toggleEditMode}
|
||||
disabled={!userCanEdit}
|
||||
>
|
||||
<Icon name="pencil" />
|
||||
</span>
|
||||
|
|
Loading…
Reference in New Issue