Commit 9ed1d12c by bergquist

style: use for loops over _.each in typescript

parent c5a76fba
......@@ -189,16 +189,16 @@ export class KeybindingSrv {
// collapse all rows
this.bind('d C', () => {
_.each(dashboard.rows, function(row) {
for (let row of dashboard.rows) {
row.collapse = true;
});
}
});
// expand all rows
this.bind('d E', () => {
_.each(dashboard.rows, function(row) {
for (let row of dashboard.rows) {
row.collapse = false;
});
}
});
this.bind('d r', () => {
......
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