2
0
mirror of https://github.com/frappe/books.git synced 2024-09-20 03:29:00 +00:00

fix: speed up data imports

This commit is contained in:
18alantom 2022-02-28 18:43:29 +05:30
parent 6ce75292b8
commit 52c5e03e31

View File

@ -324,8 +324,9 @@ export class Importer {
const docMap: ObjectMap = {};
for (let r = 0; r < this.assignedMatrix.length; r++) {
const row = this.assignedMatrix[r];
const assignedMatrix = this.assignedMatrix;
for (let r = 0; r < assignedMatrix.length; r++) {
const row = assignedMatrix[r];
const cts: ObjectMap = {};
const name = row[nameIndex];