diff --git a/app/utils/utils.js b/app/utils/utils.js index 393c9d1d..5d7d2f25 100644 --- a/app/utils/utils.js +++ b/app/utils/utils.js @@ -96,9 +96,10 @@ export function getSourceData (db, contentType, id) { if (s.type === 'osm') { // Never going to happen for projects, just scenarios. structure[s.name].osmOptions = s.data; - } else if (s.type === 'file') { + } else if (s.type === 'file' || s.type === 'default') { filesFetchTypes.push(s.name); } else if (s.type === 'wbcatalog') { + filesFetchTypes.push(s.name); structure[s.name].wbCatalogOptions = s.data; } else if (s.type !== 'default') { throw new Error('Unknown source type: ' + s.type);