Commit 7c85ede8 by GD-A-150752

Code Review Changes

parent 81727716
...@@ -122,7 +122,7 @@ export class MessageEngineComponent extends BaseComponent implements OnInit { ...@@ -122,7 +122,7 @@ export class MessageEngineComponent extends BaseComponent implements OnInit {
[ASSOCS.JOB, [ASSOCS.JOB, ASSOCS.HIRING_TEAM].join('.'), ASSOCS.MESSAGES, [ASSOCS.MESSAGES, ASSOCS.SENT_BY].join('.'), [ASSOCS.JOB, [ASSOCS.JOB, ASSOCS.HIRING_TEAM].join('.'), ASSOCS.MESSAGES, [ASSOCS.MESSAGES, ASSOCS.SENT_BY].join('.'),
[ASSOCS.MESSAGES, ASSOCS.ATTACHMENTS].join('.'), [ASSOCS.CANDIDATE, ASSOCS.USER].join('.')]; [ASSOCS.MESSAGES, ASSOCS.ATTACHMENTS].join('.'), [ASSOCS.CANDIDATE, ASSOCS.USER].join('.')];
this.subscriptions.push(this.messageEngineService.getEngineApplicantViewByID(this.jobApplicationID, assocs) this.subscriptions.push(this.messageEngineService.getJobApplicationByID(this.jobApplicationID, assocs)
.subscribe( .subscribe(
data => { data => {
this.jobApplication = data; this.jobApplication = data;
......
...@@ -12,7 +12,7 @@ export class MessageEngineService { ...@@ -12,7 +12,7 @@ export class MessageEngineService {
) { ) {
} }
getEngineApplicantViewByID(id, assocs): Observable<any> { getJobApplicationByID(id, assocs): Observable<any> {
return this.searchService.getObjectById('JobApplications', id, assocs) return this.searchService.getObjectById('JobApplications', id, assocs)
.map( .map(
data => { data => {
......
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