Commit 789e3d1c authored by ludovic's avatar ludovic
Browse files

correction 18236

parent 1788306c
This diff is collapsed.
......@@ -181,7 +181,6 @@ export class VisaWorkflowComponent implements OnInit {
if (!this.functions.empty(this.resId)) {
await this.loadDefaultModel();
}
return new Promise((resolve, reject) => {
this.http.get(`../rest/availableCircuits?circuit=visa`).pipe(
tap((data: any) => {
......@@ -535,7 +534,6 @@ export class VisaWorkflowComponent implements OnInit {
this.http.get(`../rest/listTemplates/${item.id}`).pipe(
tap((data: any) => {
this.visaWorkflow.items = this.visaWorkflow.items.concat(
data.listTemplate.items.map((itemTemplate: any) => {
return {
item_id: itemTemplate.item_id,
......@@ -553,6 +551,7 @@ export class VisaWorkflowComponent implements OnInit {
);
this.searchVisaSignUser.reset();
this.searchVisaSignUserInput.nativeElement.blur();
this.workflowUpdated.emit(this.visaWorkflow.items);
resolve(true);
})
).subscribe();
......
Supports Markdown
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