mirror of
https://github.com/bellingcat/datasheet-server.git
synced 2026-06-11 04:48:32 +03:00
fix empty rows
This commit is contained in:
@@ -63,8 +63,9 @@ export default (data) => {
|
||||
structure.__flat.forEach(label => {
|
||||
deepRow[label] = baseRow[label]
|
||||
})
|
||||
|
||||
output.push(deepRow)
|
||||
if (deepRow['id'] && deepRow['id'] !== '') {
|
||||
output.push(deepRow)
|
||||
}
|
||||
})
|
||||
|
||||
return output
|
||||
|
||||
Reference in New Issue
Block a user