Skip to content

Commit

Permalink
fix: Check translated text for Actions group button
Browse files Browse the repository at this point in the history
  • Loading branch information
Abdeali099 committed Dec 1, 2024
1 parent 3e8a8c6 commit d522e78
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ frappe.ui.form.on("Purchase Reconciliation Tool", {

// move actions button next to filters
for (let button of $(".custom-actions .inner-group-button")) {
if (button.innerText?.trim() != "Actions") continue;
if (button.innerText?.trim() != action_group) continue;
$(".custom-button-group .inner-group-button").remove();

// to hide `Actions` text on small screens
Expand Down

0 comments on commit d522e78

Please sign in to comment.