batches: Fix Filter Row hiding when no matching items
Created by: Piszmog
Closes #39414 (closed).
The variable shouldShowConnection
becomes false when there are no connection nodes. Thus hiding the filter row. Changed to show the filter row when the preview action has occurred or the page is in read only mode.
Test plan
Manual testing
Video
Before
After
App preview:
Check out the client app preview documentation to learn more.