fix: resolve JS errors on messages and platform-homepage pages

- messages.js: Add missing `error` property required by error_state macro
- platform-homepage.html: Use `<template x-if>` instead of `x-show` to
  prevent Alpine from evaluating `page.template` when `page` is null

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2025-12-21 22:08:28 +01:00
parent e364167c45
commit 6de80a2d62
2 changed files with 4 additions and 1 deletions

View File

@@ -20,6 +20,7 @@ function adminMessages(initialConversationId = null) {
// Loading states
loading: true,
error: null,
loadingConversations: false,
loadingMessages: false,
sendingMessage: false,