shortcuts: fixes expand/collapse all rows

Fixes #9069
This commit is contained in:
Daniel Lee 2017-08-21 21:04:20 +02:00
parent 7b5019482e
commit a31d0df897

View File

@ -180,14 +180,14 @@ export class KeybindingSrv {
});
// collapse all rows
this.bind('d C', () => {
this.bind('d shift+c', () => {
for (let row of dashboard.rows) {
row.collapse = true;
}
});
// expand all rows
this.bind('d E', () => {
this.bind('d shift+e', () => {
for (let row of dashboard.rows) {
row.collapse = false;
}