Commit a93070e4 by GD-A-150752

service-fix

parent 4652cdd2
......@@ -91,7 +91,10 @@ export class MessageEngineComponent extends BaseComponent implements OnInit {
this.sentViaMenuItems = this.sentViaEnum.map(elem =>
({
label: elem.Description,
command: () => this.Message.SentVia = elem
command: () => {
this.Message.SentVia = elem;
this.saveEngineApplicantView();
}
}));
})
......@@ -121,7 +124,7 @@ export class MessageEngineComponent extends BaseComponent implements OnInit {
const assocs =
[ASSOCS.MESSAGES, [ASSOCS.MESSAGES, ASSOCS.SENT_BY].join('.'), [ASSOCS.MESSAGES, ASSOCS.ATTACHMENTS].join('.'),
[ASSOCS.CANDIDATE, ASSOCS.USER].join('.')];
[ASSOCS.CANDIDATE, ASSOCS.USER].join('.')];
this.subscriptions.push(this.messageEngineService.getJobApplicationByID(this.jobApplicationID, assocs)
.subscribe(
......@@ -180,7 +183,8 @@ export class MessageEngineComponent extends BaseComponent implements OnInit {
}
this.showLoader = true;
this.subscriptions.push(this.saveService.saveObjectsWithDefaultSvc(this.createdObjs, this.updatedObjs, this.deletedObjs)
this.subscriptions.push(this.saveService.saveObjects('svc/Send', this.createdObjs,
this.updatedObjs, this.deletedObjs)
.subscribe(
() => {
this.showLoader = false;
......
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