fix: side panel breaks if added a field
This commit is contained in:
parent
30d9f1c6c1
commit
2b06594532
@ -151,7 +151,7 @@ function saveChanges() {
|
|||||||
{
|
{
|
||||||
doctype: _doctype.value,
|
doctype: _doctype.value,
|
||||||
type: 'Side Panel',
|
type: 'Side Panel',
|
||||||
layout: JSON.stringify(_tabs),
|
layout: JSON.stringify(_tabs[0].sections),
|
||||||
},
|
},
|
||||||
).then(() => {
|
).then(() => {
|
||||||
loading.value = false
|
loading.value = false
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user