Merge branch 'tsconfig-no-implicit-this'

This commit is contained in:
Torkel Ödegaard
2018-08-30 11:46:13 +02:00
27 changed files with 90 additions and 113 deletions

View File

@@ -140,15 +140,12 @@ export class DashboardMigrator {
}
// ensure query refIds
panelUpgrades.push(function(panel) {
_.each(
panel.targets,
function(target) {
if (!target.refId) {
target.refId = this.dashboard.getNextQueryLetter(panel);
}
}.bind(this)
);
panelUpgrades.push(panel => {
_.each(panel.targets, target => {
if (!target.refId) {
target.refId = this.dashboard.getNextQueryLetter(panel);
}
});
});
}