Description
When navigating in the Directory view, switching from the Teams filter (which has no data) to Users or Channels filters incorrectly displays empty results, even though Users and Channels have data available.
Steps to Reproduce
- Open the Directory view
- Navigate to the Teams filter (assuming Teams is empty/has no data)
- Switch to Users filter
- Observe that Users shows empty results (even though users exist)
- Switch to Channels filter
- Observe that Channels also shows empty results (even though channels exist)
Expected Behavior
When switching between directory filters (Users, Teams, Channels), each filter should display its respective data correctly, regardless of the previous filter's state or data availability.
Actual Behavior
When switching from an empty Teams filter to Users or Channels, those filters incorrectly display as empty even when they contain data.