Commit 3eaaa5d3 by Patrick O'Carroll

fixed so user who can edit dashboard can edit row, fixes #11466

parent 3a48ea8d
...@@ -95,7 +95,7 @@ export class DashboardRow extends React.Component<DashboardRowProps, any> { ...@@ -95,7 +95,7 @@ export class DashboardRow extends React.Component<DashboardRowProps, any> {
{title} {title}
<span className="dashboard-row__panel_count">({hiddenPanels} hidden panels)</span> <span className="dashboard-row__panel_count">({hiddenPanels} hidden panels)</span>
</a> </a>
{config.bootData.user.orgRole !== 'Viewer' && ( {this.dashboard.meta.canEdit === true && (
<div className="dashboard-row__actions"> <div className="dashboard-row__actions">
<a className="pointer" onClick={this.openSettings}> <a className="pointer" onClick={this.openSettings}>
<i className="fa fa-cog" /> <i className="fa fa-cog" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment