pagebuilder error

This commit is contained in:
2022-06-24 12:49:39 +02:00
parent d0834b1511
commit 9352dd3633
2 changed files with 2 additions and 1 deletions

View File

@@ -17,7 +17,7 @@ export default {
},
data: function(){
return {
data:''
data:'[{"label":"1 kolumna ","name":"col_1","columns":[{"name":"col-md-12","items":[{"name":"core_section_textarea","text":""},{"name":"core_section_text","text":""}]}]}]'
}
}
}

View File

@@ -102,6 +102,7 @@ export default {
try {
this.comps = JSON.parse(trimmed);
} catch (e) {
console.warn(e);
this.comps = [{ "label": "1 kolumna ", "name": "col_1", "columns": [{ "name": "col-md-12", "items": [{ "name": "core_section_textarea" }] }] }]
}