Remove linkRows processing when importing CSVs
This commit is contained in:
parent
6049acd126
commit
18c88ac101
|
@ -93,19 +93,10 @@ exports.handleDataImport = async (appId, user, table, dataImport) => {
|
|||
}
|
||||
}
|
||||
|
||||
// make sure link rows are up to date
|
||||
finalData.push(
|
||||
linkRows.updateLinks({
|
||||
appId,
|
||||
eventType: linkRows.EventType.ROW_SAVE,
|
||||
row,
|
||||
tableId: row.tableId,
|
||||
table,
|
||||
})
|
||||
)
|
||||
finalData.push(row)
|
||||
}
|
||||
|
||||
await db.bulkDocs(await Promise.all(finalData))
|
||||
await db.bulkDocs(finalData)
|
||||
let response = await db.put(table)
|
||||
table._rev = response._rev
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue