wip: refactoring tui

This commit is contained in:
adamdottv
2025-05-29 06:42:58 -05:00
parent 2b77a7f714
commit 9f1a75e938
3 changed files with 38 additions and 58 deletions

View File

@@ -463,7 +463,7 @@ func (a appModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
a.showFilepicker = false
// Load sessions and show the dialog
sessions, err := a.app.Sessions.List(context.Background())
sessions, err := a.app.ListSessions(context.Background())
if err != nil {
status.Error(err.Error())
return a, nil