Fix error handling for version check
This commit is contained in:
parent
b0e42d98ac
commit
32fa49f1e9
|
@ -18,7 +18,7 @@ angApp.controller('DefaultController', function($scope, $timeout, $http, AppInfo
|
||||||
else {
|
else {
|
||||||
$scope.checkingForUpdate = 'latest'
|
$scope.checkingForUpdate = 'latest'
|
||||||
}
|
}
|
||||||
}, (error) => {
|
}).catch((error) => {
|
||||||
$scope.checkingForUpdate = 'checkErr'
|
$scope.checkingForUpdate = 'checkErr'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue