fix(webui): prevent settings crash on missing class.data

This commit is contained in:
igor04091968
2026-04-27 01:47:16 +03:00
parent 428a8623a9
commit a61b4cee2b
3 changed files with 32 additions and 4 deletions
+6
View File
@@ -13,3 +13,9 @@ aw_repo_root: "/home/igor/tmp/AWatch-rus"
# Optional: apply a baseline worktime-focused categorization and views via AW settings API.
# WARNING: this overwrites existing server-side settings/classes/views.
aw_apply_worktime_settings: false
# Optional defaults for the worktime period in Web UI.
# startOfDay controls day-boundary and default report window start.
# durationDefault controls default time range (seconds) shown in UI.
aw_worktime_start_of_day: "08:00"
aw_worktime_duration_default: 32400