diff --git a/ui/scripts/ui-custom/vpc.js b/ui/scripts/ui-custom/vpc.js index 21f859e3cb2..7412250b571 100644 --- a/ui/scripts/ui-custom/vpc.js +++ b/ui/scripts/ui-custom/vpc.js @@ -433,10 +433,11 @@ }); updateVMLoadingState(); - } - - else if (actionID == 'remove') { //remove tier + } else if (actionID == 'remove') { //remove tier + $loading.remove(); $tier.remove(); + } else { + $loading.remove(); } }, @@ -447,6 +448,8 @@ function(args) { if (actionID == 'addVM') { updateVMLoadingState(); + } else { + $loading.remove(); } } );