fix: make form undirty on fetch

This commit is contained in:
Shariq Ansari 2023-07-10 14:09:06 +05:30
parent c8d19d82e1
commit 2fe91f93de

View file

@ -92,6 +92,8 @@ export const useStore = defineStore("form-builder-store", () => {
nextTick(() => {
dirty.value = false;
frm.value.doc.__unsaved = 0;
frm.value.page.clear_indicator();
read_only.value =
!is_customize_form.value && !frappe.boot.developer_mode && !doc.value.custom;
preview.value = false;