mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
tslint: tslint to const fixes part3 (#13036)
This commit is contained in:
@@ -33,7 +33,7 @@ export class UtilSrv {
|
||||
this.modalScope = this.$rootScope.$new();
|
||||
}
|
||||
|
||||
var modal = this.$modal({
|
||||
const modal = this.$modal({
|
||||
modalClass: options.modalClass,
|
||||
template: options.src,
|
||||
templateHtml: options.templateHtml,
|
||||
@@ -50,7 +50,7 @@ export class UtilSrv {
|
||||
}
|
||||
|
||||
showConfirmModal(payload) {
|
||||
var scope = this.$rootScope.$new();
|
||||
const scope = this.$rootScope.$new();
|
||||
|
||||
scope.onConfirm = function() {
|
||||
payload.onConfirm();
|
||||
|
||||
Reference in New Issue
Block a user