refactor(ListView): change quick filter toggle icon
This commit is contained in:
parent
4b1f55d306
commit
70a9e8eed8
1 changed files with 1 additions and 6 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() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue