mirror of
https://github.com/grafana/grafana.git
synced 2026-07-30 00:08:10 -05:00
dashboards: fix keyboard shortcut for expand/collapse rows
This commit is contained in:
@@ -213,16 +213,12 @@ export class KeybindingSrv {
|
||||
|
||||
// collapse all rows
|
||||
this.bind('d shift+c', () => {
|
||||
for (let row of dashboard.rows) {
|
||||
row.collapse = true;
|
||||
}
|
||||
dashboard.collapseRows();
|
||||
});
|
||||
|
||||
// expand all rows
|
||||
this.bind('d shift+e', () => {
|
||||
for (let row of dashboard.rows) {
|
||||
row.collapse = false;
|
||||
}
|
||||
dashboard.expandRows();
|
||||
});
|
||||
|
||||
this.bind('d n', e => {
|
||||
|
||||
Reference in New Issue
Block a user