Commit 1beba041 authored by Hamza HRAMCHI's avatar Hamza HRAMCHI
Browse files

FIX #16956 TIME 0:02 replace index

parent afde9a57
......@@ -195,7 +195,7 @@ export class SendExternalSignatoryBookActionComponent implements OnInit {
externalUsers.forEach((element: any) => {
for (let i = 0; i < resToSign.length; i++) {
const userIndex: number = this.maarchParapheur.appExternalVisaWorkflow.visaWorkflow.items.indexOf(element);
if (resToSign[i].filter((item: any) => item.sequence === i).length === 0) {
if (resToSign[i].filter((item: any) => item.sequence === userIndex).length === 0) {
mustSign = true;
break;
}
......
Markdown is supported
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