Commit 9e630ff1 by GD-A-150752

send/save service

parent 593a7d92
...@@ -185,7 +185,8 @@ export class MessageEngineComponent extends BaseComponent implements OnInit { ...@@ -185,7 +185,8 @@ export class MessageEngineComponent extends BaseComponent implements OnInit {
} }
this.showLoader = true; this.showLoader = true;
this.subscriptions.push(this.saveService.saveObjects('svc/Send', this.createdObjs, const service = this.embedded ? 'svc/Send' : 'svc/Save';
this.subscriptions.push(this.saveService.saveObjects(service, this.createdObjs,
this.updatedObjs, this.deletedObjs) this.updatedObjs, this.deletedObjs)
.subscribe( .subscribe(
() => { () => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment