Set loading to false after error load component view

This commit is contained in:
Mo Bitar
2018-12-14 00:46:21 -06:00
parent 2e9324f440
commit ee86e68631

View File

@@ -71,6 +71,7 @@ class ComponentView {
if($scope.loadTimeout) { $timeout.cancel($scope.loadTimeout);}
$scope.loadTimeout = $timeout(() => {
if($scope.loading) {
$scope.loading = false;
$scope.issueLoading = true;
}
}, 3500);