Description
Auto-select next flow does not work properly when deleting flow from filtered table
Steps to Reproduce
Scenario 1:
- Filter with primary filter + secondary filter >> 1 flow match
- Delete the flow
Expected Behavior:
- Set selected flow = null and display
EmptySelection
Scenario 2:
- Filter with primary filter + secondary filter >> 4 flow match with
ID: [3, 17, 32, 1, 65]
- Delete the last flow with
ID = 65
Expected Behavior:
- Auto select next flow (ID=1)
Current Behavior
- Auto-select the next flow from
renderFlows not from the visible flows