This commit is contained in:
James Cole 2019-12-20 05:38:42 +01:00
parent d29ec707b4
commit 94194d497f
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E
2 changed files with 8 additions and 5 deletions

2
public/v1/js/app.js vendored

File diff suppressed because one or more lines are too long

View File

@ -623,10 +623,13 @@
}
}
// unique some things
this.transactions[transactionIndex].errors.source_account =
Array.from(new Set(this.transactions[transactionIndex].errors.source_account));
this.transactions[transactionIndex].errors.destination_account =
Array.from(new Set(this.transactions[transactionIndex].errors.destination_account));
if (typeof this.transactions[transactionIndex] !== 'undefined') {
this.transactions[transactionIndex].errors.source_account =
Array.from(new Set(this.transactions[transactionIndex].errors.source_account));
this.transactions[transactionIndex].errors.destination_account =
Array.from(new Set(this.transactions[transactionIndex].errors.destination_account));
}
}
}
},