Skip to content

Commit

Permalink
fix: filter button translation (#25944)
Browse files Browse the repository at this point in the history
(cherry picked from commit 55b1e4a)
  • Loading branch information
git-avc authored and mergify[bot] committed Apr 15, 2024
1 parent 9a232c0 commit 2bea73a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frappe/public/js/frappe/ui/filters/filter_list.js
Expand Up @@ -130,7 +130,7 @@ frappe.ui.FilterGroup = class {
update_filter_button() {
const filters_applied = this.filters.length > 0;
const button_label = filters_applied
? __("Filters <span class='filter-label'>{0}</span>", [this.filters.length])
? __("Filters {0}", [`<span class="filter-label">${this.filters.length}</span>`])
: __("Filter");

this.filter_button
Expand Down

0 comments on commit 2bea73a

Please sign in to comment.