diff --git a/internal/tui/model.go b/internal/tui/model.go index 051a873..2c6ad47 100644 --- a/internal/tui/model.go +++ b/internal/tui/model.go @@ -669,7 +669,7 @@ func (m *Model) updateSubView(msg tea.Msg) (tea.Model, tea.Cmd) { return m, nil case "e": // Export Call Log - flows := m.callFlowStore.GetRecentFlows(20) + flows := m.callFlowStore.GetSortedFlows() if m.selectedFlow < len(flows) { flow := flows[m.selectedFlow] // Sanitize Call-ID for filename @@ -722,7 +722,7 @@ func (m *Model) updateSubView(msg tea.Msg) (tea.Model, tea.Cmd) { m.updateCallDetailView() } case "down", "j": - flows := m.callFlowStore.GetRecentFlows(20) + flows := m.callFlowStore.GetSortedFlows() if m.selectedFlow < len(flows) { flow := flows[m.selectedFlow] if m.selectedPacketIndex < len(flow.Packets)-1 {