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,
|
||||
type: 'Side Panel',
|
||||
layout: JSON.stringify(_tabs),
|
||||
layout: JSON.stringify(_tabs[0].sections),
|
||||
},
|
||||
).then(() => {
|
||||
loading.value = false
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user