fix: resolve TDZ error when switching back to chat page

Move sourceLabel and getSourceLabel before groupedSessions computed
to fix "Cannot access before initialization" in production build.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
ekko
2026-04-13 01:11:07 +08:00
parent c421158d9c
commit 30590d2f0a
2 changed files with 26 additions and 27 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "hermes-web-ui",
"version": "0.1.5",
"version": "0.1.6",
"description": "Hermes Agent Web UI - Chat and Job Management Dashboard",
"repository": {
"type": "git",