fix: reload data fields layout on update

This commit is contained in:
Shariq Ansari 2024-12-06 15:40:27 +05:30
parent 806a9827b0
commit 93a3b1c44a
2 changed files with 4 additions and 0 deletions

View File

@ -38,6 +38,7 @@
v-if="showDataFieldsModal"
v-model="showDataFieldsModal"
:doctype="doctype"
@reload="tabs.reload"
/>
</template>

View File

@ -67,6 +67,8 @@ const props = defineProps({
},
})
const emit = defineEmits(['reload'])
const show = defineModel()
const _doctype = ref(props.doctype)
const loading = ref(false)
@ -127,6 +129,7 @@ function saveChanges() {
loading.value = false
show.value = false
capture('data_fields_layout_builder', { doctype: _doctype.value })
emit('reload')
})
}
</script>