diff --git a/frontend/src/components/Settings/QuickEntryModal.vue b/frontend/src/components/Settings/QuickEntryModal.vue index a3ecca17..02c9b9cb 100644 --- a/frontend/src/components/Settings/QuickEntryModal.vue +++ b/frontend/src/components/Settings/QuickEntryModal.vue @@ -122,7 +122,6 @@ function saveChanges() { ).then(() => { loading.value = false show.value = false - reload() }) } diff --git a/frontend/src/components/Settings/SidePanelModal.vue b/frontend/src/components/Settings/SidePanelModal.vue index a8ccc47e..92d93a70 100644 --- a/frontend/src/components/Settings/SidePanelModal.vue +++ b/frontend/src/components/Settings/SidePanelModal.vue @@ -84,6 +84,8 @@ const props = defineProps({ }, }) +const emit = defineEmits(['reload']) + const show = defineModel() const _doctype = ref(props.doctype) const loading = ref(false) @@ -141,7 +143,7 @@ function saveChanges() { ).then(() => { loading.value = false show.value = false - reload() + emit('reload') }) } diff --git a/frontend/src/pages/Deal.vue b/frontend/src/pages/Deal.vue index 39bf9d56..1061357a 100644 --- a/frontend/src/pages/Deal.vue +++ b/frontend/src/pages/Deal.vue @@ -298,6 +298,7 @@ v-if="showSidePanelModal" v-model="showSidePanelModal" doctype="CRM Deal" + @reload="() => fieldsLayout.reload()" />