aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIdan Amit <ia096e@intl.att.com>2018-04-16 15:14:03 +0300
committerIdan Amit <ia096e@intl.att.com>2018-04-23 18:44:50 +0300
commit2a2e318e6fbb019845a608e8bf2be083d70b2ee3 (patch)
tree575016684795a8c6ad17e8b77dfd0674d916946e
parent6553339f446abdef8acb1d9969d6ab90aebffd8e (diff)
New observable notify design in pubsub
Removing unnecessary notify code Change-Id: Ic5401b82f5bacba15b857094315105fe9153dead Issue-ID: SDC-1178 Signed-off-by: Idan Amit <ia096e@intl.att.com>
-rw-r--r--catalog-ui/src/app/view-models/workspace/workspace-view-model.ts10
1 files changed, 0 insertions, 10 deletions
diff --git a/catalog-ui/src/app/view-models/workspace/workspace-view-model.ts b/catalog-ui/src/app/view-models/workspace/workspace-view-model.ts
index 7fa25177f5..3797707046 100644
--- a/catalog-ui/src/app/view-models/workspace/workspace-view-model.ts
+++ b/catalog-ui/src/app/view-models/workspace/workspace-view-model.ts
@@ -455,16 +455,6 @@ export class WorkspaceViewModel {
version: this.$scope.component.version
};
- // Notifying about events after successfully executing the actions
- switch (state) {
- case "checkOut":
- this.eventBusService.notify("CHECK_OUT", eventData);
- break;
- case "deleteVersion":
- this.eventBusService.notify("UNDO_CHECK_OUT", eventData);
- break;
- }
-
//the server returns only metaData (small component) except checkout (Full component) ,so we update only the statuses of distribution & lifecycle
this.$scope.component.lifecycleState = component.lifecycleState;
this.$scope.component.distributionStatus = component.distributionStatus;