Shortcuts: Fixes panel shortcuts so they always work (#32385)

* Shortcuts: Fixes panel shortcuts so they always work

* Updated snapshot
This commit is contained in:
Torkel Ödegaard
2021-03-29 07:52:57 +02:00
committed by GitHub
parent 4becb79f1e
commit feaaa32ffd
9 changed files with 68 additions and 91 deletions

View File

@@ -228,7 +228,7 @@ export class DashboardGrid extends PureComponent<Props> {
panel.isInView = this.isInView(panel);
panelElements.push(
<div key={id} className={panelClasses} id={'panel-' + id} ref={(elem) => elem && (this.panelRef[id] = elem)}>
<div key={id} className={panelClasses} data-panelid={id} ref={(elem) => elem && (this.panelRef[id] = elem)}>
{this.renderPanel(panel)}
</div>
);