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