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 {
|
||||
$scope.checkingForUpdate = 'latest'
|
||||
}
|
||||
}, (error) => {
|
||||
}).catch((error) => {
|
||||
$scope.checkingForUpdate = 'checkErr'
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue