aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/utils/change-lifecycle-state-handler.ts
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-ui/src/app/utils/change-lifecycle-state-handler.ts')
-rw-r--r--catalog-ui/src/app/utils/change-lifecycle-state-handler.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/catalog-ui/src/app/utils/change-lifecycle-state-handler.ts b/catalog-ui/src/app/utils/change-lifecycle-state-handler.ts
index 143c3c5360..54497ba187 100644
--- a/catalog-ui/src/app/utils/change-lifecycle-state-handler.ts
+++ b/catalog-ui/src/app/utils/change-lifecycle-state-handler.ts
@@ -103,14 +103,15 @@ export class ChangeLifecycleStateHandler {
//-------------------------------------------------
let onOk = (confirmationText):void => {
comment.userRemarks = confirmationText;
- scope.isLoading = true;
if (data.url === "lifecycleState/CHECKIN") {
this.eventBusService.notify("CHECK_IN").subscribe(() => {
+ scope.isLoading = true;
component.changeLifecycleState(data.url, comment).then(onSuccess, onError);
});
}
else {
+ scope.isLoading = true;
component.changeLifecycleState(data.url, comment).then(onSuccess, onError);
}
};