Support missing images folder.

This commit is contained in:
roman committed 2023-08-13 23:50:52 +03:00
1 parent 840c002834
commit a1929fe33c
3 files changed
+24 -5

No files matched your search

@@ -26,6 +26,10 @@ export async function createDistFolder(blockName, projectPath = '') {
}
export function getBlockFields(block = {}, type = 'content') {
if (!block['field_groups']) {
return [];
}
const fields_group = block['field_groups'].find((group) => group.name === type);
const fields = [];