fix(fdo): cancel the action in progress on error EE-2447 (#6469)

pull/6476/head
andres-portainer 2022-01-25 11:46:13 -03:00 committed by GitHub
parent b76bcf0ee7
commit 48f2e7316a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -91,6 +91,7 @@ angular
);
} catch (err) {
Notifications.error('Failure', err, 'Unable to create the environment');
$scope.state.actionInProgress = false;
return;
}