fix: Move "Assign to me" to the top avoid dropdown overlap iritation

This commit is contained in:
Suraj Shetty 2020-12-18 08:06:10 +05:30
parent 1d87b56361
commit cacd7e9d75

View file

@ -149,6 +149,13 @@ frappe.ui.form.AssignToDialog = Class.extend({
let me = this;
return [
{
label: __("Assign to me"),
fieldtype: 'Check',
fieldname: 'assign_to_me',
default: 0,
onchange: () => me.assign_to_me()
},
{
fieldtype: 'MultiSelectPills',
fieldname: 'assign_to',
@ -158,13 +165,6 @@ frappe.ui.form.AssignToDialog = Class.extend({
return frappe.db.get_link_options("User", txt, {user_type: "System User", enabled: 1});
}
},
{
label: __("Assign to me"),
fieldtype: 'Check',
fieldname: 'assign_to_me',
default: 0,
onchange: () => me.assign_to_me()
},
{
label: __("Comment"),
fieldtype: 'Small Text',