mirror of
https://github.com/grafana/grafana.git
synced 2025-02-12 00:25:46 -06:00
fixed so user who can edit dashboard can edit row, fixes #11466
This commit is contained in:
parent
3a48ea8dde
commit
3eaaa5d32d
@ -95,7 +95,7 @@ export class DashboardRow extends React.Component<DashboardRowProps, any> {
|
||||
{title}
|
||||
<span className="dashboard-row__panel_count">({hiddenPanels} hidden panels)</span>
|
||||
</a>
|
||||
{config.bootData.user.orgRole !== 'Viewer' && (
|
||||
{this.dashboard.meta.canEdit === true && (
|
||||
<div className="dashboard-row__actions">
|
||||
<a className="pointer" onClick={this.openSettings}>
|
||||
<i className="fa fa-cog" />
|
||||
|
Loading…
Reference in New Issue
Block a user