fix: Do not show "Not Saved" on loading System Settings (#17967)

This commit is contained in:
Suraj Shetty 2022-08-26 10:44:51 +05:30 committed by GitHub
parent 7e34da6bec
commit 81fa146330
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,7 +7,7 @@ frappe.ui.form.on("System Settings", {
frm.set_df_property("time_zone", "options", frappe.all_timezones);
$.each(data.message.defaults, function (key, val) {
frm.set_value(key, val);
frm.set_value(key, val, null, true);
frappe.sys_defaults[key] = val;
});
if (frm.re_setup_moment) {