tslint: tslint to const fixes part3 (#13036)

This commit is contained in:
Torkel Ödegaard
2018-08-26 21:52:57 +02:00
committed by GitHub
parent 35c00891e7
commit e1beaaa0f7
56 changed files with 359 additions and 363 deletions

View File

@@ -11,7 +11,7 @@ export class LoadDashboardCtrl {
if (homeDash.redirectUri) {
$location.path(homeDash.redirectUri);
} else {
var meta = homeDash.meta;
const meta = homeDash.meta;
meta.canSave = meta.canShare = meta.canStar = false;
$scope.initDashboard(homeDash, $scope);
}