remove explicit ID from events in timemap setup

This commit is contained in:
Lachlan Kermode
2020-06-19 12:07:57 +02:00
parent e7718f18c7
commit 95cb7a6f80
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@@ -63,7 +63,7 @@ export default (data) => {
structure.__flat.forEach(label => { structure.__flat.forEach(label => {
deepRow[label] = baseRow[label] deepRow[label] = baseRow[label]
}) })
if (deepRow['id'] && deepRow['id'] !== '') { if (!Object.keys(deepRow).every(k => deepRow[k] === '')) {
output.push(deepRow) output.push(deepRow)
} }
}) })