mirror of
https://github.com/bellingcat/datasheet-server.git
synced 2026-06-11 21:08:33 +03:00
remove explicit ID from events in timemap setup
This commit is contained in:
@@ -63,7 +63,7 @@ export default (data) => {
|
||||
structure.__flat.forEach(label => {
|
||||
deepRow[label] = baseRow[label]
|
||||
})
|
||||
if (deepRow['id'] && deepRow['id'] !== '') {
|
||||
if (!Object.keys(deepRow).every(k => deepRow[k] === '')) {
|
||||
output.push(deepRow)
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user