fix: Ensure transaction flow navigation works for all calls
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user