fix: no data fallback on filters

This commit is contained in:
Rohan Bansal 2019-12-27 11:43:45 +05:30
parent 71b45dee59
commit 13f602f054

View file

@ -90,7 +90,7 @@ frappe.views.ListGroupBy = class ListGroupBy {
this.render_dropdown_items(field_count_list, dropdown);
this.sidebar.setup_dropdown_search(dropdown, '.group-by-value');
} else {
dropdown.find('.group-by-loading').hide();
dropdown.find('.group-by-loading').html(`${__("No filters found")}`);
}
});
});