pagebuilder error
This commit is contained in:
@@ -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":""}]}]}]'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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" }] }] }]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user