fix(ui): render the empty-state guide on first boot with no sessions

This commit is contained in:
NI0317
2026-07-19 11:10:21 +08:00
parent c4584b5c19
commit de9190accc
+3
View File
@@ -427,6 +427,9 @@ async function refreshSessions(preferredId?: string): Promise<void> {
state.selectedSessionId = id
renderSessionList()
renderTopbar()
} else {
// First boot with no sessions: show the empty-state guide, not a blank pane.
renderConversation()
}
} catch (error) {
showError(String(error))