System Jobs using confirmation dialog
This commit is contained in:
committed by
Jose Alberto Hernandez
parent
29cda98b62
commit
c4338b44f0
@@ -339,7 +339,7 @@ export class SystemService {
|
||||
* @returns {Observable<any>}
|
||||
*/
|
||||
runSelectedJob(jobId: string): Promise<any> {
|
||||
return this.http.post(`/jobs/${jobId}?command=executeJob`, this.emptyPayload).toPromise();
|
||||
return this.http.post(`/jobs/${jobId}?command=executeJob`, this.emptyPayload, { observe: 'response' }).toPromise();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user