Skip to content
Snippets Groups Projects
Verified Commit 5a4b009e authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FEAT #11271 TIME 0:20 add data priorites idnexing form

parent 37362823
No related branches found
No related tags found
No related merge requests found
......@@ -347,7 +347,19 @@ export class IndexingFormComponent implements OnInit {
return of(false);
})
).subscribe();
}
} else
if (elem.identifier === 'priority') {
this.http.get("../../rest/priorities").pipe(
tap((data: any) => {
elem.values = data.priorities;
}),
finalize(() => this.loading = false),
catchError((err: any) => {
this.notify.handleErrors(err);
return of(false);
})
).subscribe();
} else
if (elem.identifier === 'doctype') {
this.http.get("../../rest/doctypes").pipe(
tap((data: any) => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment