fix: correct billing history sidebar page_id for menu highlight

The page_id was 'billing' but the URL /merchants/billing/invoices
yields currentPage='invoices' from the last URL segment. Change
page_id to 'invoices' so the highlight matches.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-22 21:48:26 +01:00
parent d7a383f3d7
commit 1f3042547b

View File

@@ -78,7 +78,7 @@
{{ section_header('Billing', 'billing', 'credit-card') }}
{% call section_content('billing') %}
{{ menu_item('subscriptions', '/merchants/billing/subscriptions', 'clipboard-list', 'Subscriptions') }}
{{ menu_item('billing', '/merchants/billing/invoices', 'currency-euro', 'Billing History') }}
{{ menu_item('invoices', '/merchants/billing/invoices', 'currency-euro', 'Billing History') }}
{% endcall %}
<!-- Account Section -->