fix: Clear dasboard comment to avoid duplicate

- on save
This commit is contained in:
Suraj Shetty 2023-03-16 09:45:43 +05:30
parent 56fb0a4f93
commit 8dde2cd43c

View file

@ -48,6 +48,7 @@ frappe.ui.form.on("DocType", {
true
);
} else if (frappe.boot.developer_mode) {
frm.dashboard.clear_comment();
let msg = __(
"This site is running in developer mode. Any change made here will be updated in code."
);