fix: side panel breaks if added a field

This commit is contained in:
Shariq Ansari 2024-12-25 16:49:27 +05:30
parent 30d9f1c6c1
commit 2b06594532

View File

@ -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