Merge pull request #36875 from iamejaaz/v16-list-fixes
fix(ListView): quick filter icon and label change
This commit is contained in:
commit
f622b6f7ad
2 changed files with 2 additions and 7 deletions
|
|
@ -660,7 +660,7 @@ class FilterArea {
|
|||
|
||||
$(`<button class="filter-toggle btn btn-default btn-sm filter-button">
|
||||
<span class="filter-icon button-icon">
|
||||
${frappe.utils.icon("funnel-plus")}
|
||||
${frappe.utils.icon("chevrons-up-down")}
|
||||
</span>
|
||||
</button>
|
||||
</div>`)
|
||||
|
|
@ -680,11 +680,6 @@ class FilterArea {
|
|||
this.standard_filters_visible = true;
|
||||
this.standard_filters_wrapper.show();
|
||||
}
|
||||
let icon_name = !this.standard_filters_visible ? "funnel-plus" : "funnel-x";
|
||||
this.$filter_list_wrapper
|
||||
.find(".filter-toggle")
|
||||
.find("use")
|
||||
.attr("href", `#icon-${icon_name}`);
|
||||
}
|
||||
|
||||
setup() {
|
||||
|
|
|
|||
|
|
@ -1985,7 +1985,7 @@ frappe.views.ListView = class ListView extends frappe.views.BaseList {
|
|||
}
|
||||
|
||||
items.push({
|
||||
label: __("Edit Filters", null, "Edit filters of List View"),
|
||||
label: __("Customize Quick Filters", null, "Customize qucik filters of List View"),
|
||||
action: () => {
|
||||
this.make_group_by_fields_modal();
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue