diff --git a/frappe/automation/doctype/assignment_rule/assignment_rule.js b/frappe/automation/doctype/assignment_rule/assignment_rule.js index dcdfa65985..fbadf2c7a6 100644 --- a/frappe/automation/doctype/assignment_rule/assignment_rule.js +++ b/frappe/automation/doctype/assignment_rule/assignment_rule.js @@ -33,8 +33,7 @@ frappe.ui.form.on('Assignment Rule', { let get_button_html = (label) => ``; + style="margin-bottom: 10px; margin-right: 5px">${__(label)}`; const $wrapper = frm.get_field('assignment_days').$wrapper; $(`
@@ -72,6 +71,8 @@ frappe.ui.form.on('Assignment Rule', { }); frm.set_df_property('field', 'options', user_link_fields); }); + } else { + frm.set_df_property('field', 'options', user_link_fields); } }, set_due_date_field_options: (frm) => {