From 9fe03b5ef33520fe5cdd9fb0e140ec33edd162dc Mon Sep 17 00:00:00 2001 From: prssanna Date: Fri, 2 Oct 2020 17:02:16 +0530 Subject: [PATCH] fix: assignment days button label --- frappe/automation/doctype/assignment_rule/assignment_rule.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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) => {