From 0bfd988f11041d34948aee08181276b9c129688f Mon Sep 17 00:00:00 2001 From: Samir Boulahtit Date: Fri, 2 Jan 2026 22:47:26 +0100 Subject: [PATCH] fix: update vendor messages template to use correct page_header API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changed from old buttons=[] parameter to action_label/action_onclick parameters which are the correct API for page_header macro. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- app/templates/vendor/messages.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/templates/vendor/messages.html b/app/templates/vendor/messages.html index 5a82baa7..35dcd8f3 100644 --- a/app/templates/vendor/messages.html +++ b/app/templates/vendor/messages.html @@ -8,9 +8,7 @@ {% block alpine_data %}vendorMessages({{ conversation_id or 'null' }}){% endblock %} {% block content %} -{{ page_header('Messages', buttons=[ - {'text': 'New Conversation', 'icon': 'plus', 'click': 'showComposeModal = true', 'primary': True} -]) }} +{{ page_header('Messages', action_label='New Conversation', action_icon='plus', action_onclick='showComposeModal = true') }} {{ loading_state('Loading conversations...') }}