From d522e783472dfcdd08da2299dad923c5ea55135e Mon Sep 17 00:00:00 2001 From: Abdeali Chharchhoda Date: Sun, 1 Dec 2024 16:59:27 +0530 Subject: [PATCH] fix: Check translated text for Actions group button --- .../purchase_reconciliation_tool.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/india_compliance/gst_india/doctype/purchase_reconciliation_tool/purchase_reconciliation_tool.js b/india_compliance/gst_india/doctype/purchase_reconciliation_tool/purchase_reconciliation_tool.js index bef83e279..7e1b3f345 100644 --- a/india_compliance/gst_india/doctype/purchase_reconciliation_tool/purchase_reconciliation_tool.js +++ b/india_compliance/gst_india/doctype/purchase_reconciliation_tool/purchase_reconciliation_tool.js @@ -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