System Jobs using confirmation dialog

This commit is contained in:
Jose Alberto Hernandez
2024-12-05 22:45:37 -05:00
committed by Jose Alberto Hernandez
parent 29cda98b62
commit c4338b44f0
25 changed files with 332 additions and 33 deletions
+1 -1
View File
@@ -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();
}
/**