Skip to content
Snippets Groups Projects

WS-2142 Weblog links

Merged Daniel Nemergut requested to merge ws2142-weblog_links into release/2.4.3-rc1
All threads resolved!
6 files
+ 59
11
Compare changes
  • Side-by-side
  • Inline
Files
6
@@ -77,14 +77,16 @@ export class ExecutionDetailPlanesComponent implements OnInit, OnDestroy {
// Write out the planes string if any are selected
if (planesText.length > 0) {
this.jobService.writePlanes(this.job.job_id, planesText).subscribe(() => {
// Trigger acceptQa on the parent
this.jobService.writePlanes(this.job.job_id, planesText).subscribe(
result => {},
error => {
this.alertService.error('Planes did not save. ' + error);
},
() => {
// Trigger acceptQa on the parent if there were no errors during the save
this.planesWritten.emit();
this.alertService.success('Planes Saved');
},
error => {
this.alertService.error('Planes did not save. ' + error);
});
}
}
Loading