Support missing images folder.
This commit is contained in:
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 = [];
|
||||
|
||||
|
||||
Reference in new issue
Block a user