Removing unnecessary notify code
Change-Id: Ic5401b82f5bacba15b857094315105fe9153dead
Issue-ID: SDC-1178
Signed-off-by: Idan Amit <ia096e@intl.att.com>
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;