fix: remove button class in data pill

This commit is contained in:
prssanna 2020-08-24 14:45:04 +05:30
parent 3cb26bf518
commit 7666e707b9

View file

@ -303,7 +303,7 @@ frappe.get_data_pill = (label, target_id=null, remove_action=null) => {
if (remove_action) {
let remove_btn = $(`
<span class="remove-btn cursor-pointer">
${frappe.utils.icon('close')}
${frappe.utils.icon('close', 'sm', 'close')}
</span>
`).click(() => {
remove_action(target_id || label, data_pill_wrapper);