From 48f2e7316a88bceef40a13785c52686025260aca Mon Sep 17 00:00:00 2001 From: andres-portainer <91705312+andres-portainer@users.noreply.github.com> Date: Tue, 25 Jan 2022 11:46:13 -0300 Subject: [PATCH] fix(fdo): cancel the action in progress on error EE-2447 (#6469) --- app/portainer/views/devices/import/importDeviceController.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/portainer/views/devices/import/importDeviceController.js b/app/portainer/views/devices/import/importDeviceController.js index cb7697776..68b174b8d 100644 --- a/app/portainer/views/devices/import/importDeviceController.js +++ b/app/portainer/views/devices/import/importDeviceController.js @@ -91,6 +91,7 @@ angular ); } catch (err) { Notifications.error('Failure', err, 'Unable to create the environment'); + $scope.state.actionInProgress = false; return; }