Misspelt, when selecting ALL emails it was being set to UNSEEN. This rectifies the issue.

This commit is contained in:
Jack 2019-11-21 10:59:06 +00:00 committed by Suraj Shetty
parent 3d15be73fa
commit 7e6f5ea07e

View file

@ -184,7 +184,7 @@ frappe.ui.form.on("Email Account", {
read as well as unread message from server. This may also cause the duplication\
of Communication (emails).");
frappe.confirm(msg, null, function() {
frm.set_value("email_sync_option", "UNSEEN");
frm.set_value("email_sync_option", "ALL");
});
}
}