summaryrefslogtreecommitdiff
path: root/internal/client/ui/core/core.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/client/ui/core/core.go')
-rw-r--r--internal/client/ui/core/core.go8
1 files changed, 7 insertions, 1 deletions
diff --git a/internal/client/ui/core/core.go b/internal/client/ui/core/core.go
index 140d5f3..6949aee 100644
--- a/internal/client/ui/core/core.go
+++ b/internal/client/ui/core/core.go
@@ -204,7 +204,13 @@ func (m *Model) updateConnected(msg tea.Msg) tea.Cmd {
}
}
- return nil
+ var cmd tea.Cmd
+ switch m.focus {
+ case FocusNetworkList:
+ m.networkList, cmd = m.networkList.Update(msg)
+ }
+
+ return cmd
}
func (m *Model) updateLoadScreenContent() {