Implement timer functions with full CRUD functionality and enhanced UI

- Add comprehensive routes for creating, editing, deleting, and toggling timer functions
- Create new HTML templates for timer function overview, new, and edit pages
- Extend Mithril editor component to support timer-specific settings like trigger type, frequency, and enabled status
- Implement database schema and versioning for timer functions
- Add UI improvements for timer function listing with detailed schedule and status information
This commit is contained in:
Peter Stockings
2025-02-16 19:50:58 +11:00
parent adeb62365b
commit e09437c7b8
6 changed files with 618 additions and 75 deletions

View File

@@ -315,8 +315,8 @@ const ResponseView = {
: ""),
},
response.status === "SUCCESS"
? m.trust(response.result.body)
: JSON.stringify(response.result)
? m.trust(response?.result?.body)
: JSON.stringify(response?.result)
),
]),