fix: assignment days button label
This commit is contained in:
parent
fbc5f8c67e
commit
9fe03b5ef3
1 changed files with 3 additions and 2 deletions
|
|
@ -33,8 +33,7 @@ frappe.ui.form.on('Assignment Rule', {
|
|||
|
||||
let get_button_html = (label) => `<button
|
||||
class="btn btn-xs btn-default pull-right"
|
||||
style="margin-bottom: 10px; margin-right: 5px">${__(label)}
|
||||
</button>`;
|
||||
style="margin-bottom: 10px; margin-right: 5px">${__(label)}</button>`;
|
||||
|
||||
const $wrapper = frm.get_field('assignment_days').$wrapper;
|
||||
$(`<div class="fetch-days-buttons">
|
||||
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue