fix(ui): render the empty-state guide on first boot with no sessions
This commit is contained in:
@@ -427,6 +427,9 @@ async function refreshSessions(preferredId?: string): Promise<void> {
|
|||||||
state.selectedSessionId = id
|
state.selectedSessionId = id
|
||||||
renderSessionList()
|
renderSessionList()
|
||||||
renderTopbar()
|
renderTopbar()
|
||||||
|
} else {
|
||||||
|
// First boot with no sessions: show the empty-state guide, not a blank pane.
|
||||||
|
renderConversation()
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
showError(String(error))
|
showError(String(error))
|
||||||
|
|||||||
Reference in New Issue
Block a user