diff --git a/js/import-export.js b/js/import-export.js index 0dc462e6..6f3d608e 100644 --- a/js/import-export.js +++ b/js/import-export.js @@ -84,7 +84,7 @@ function validEntry(entry) let validatedTime = true; if (entry.type === 'flexible') { - hasExpectedProperties = entry.hasOwnProperty('values') && Array.isArray(entry.values); + hasExpectedProperties = entry.hasOwnProperty('values') && Array.isArray(entry.values) && entry.values.length > 0; if (hasExpectedProperties) { for (const value of entry.values)