Hi there,
Trying conditional visibility doesn't work as your $currentObject will be from the first list, not the second list.
Instead, I used the solution from this forum answer https://forum.mendix.com/link/space/user-experience/questions/102359 to achieve what I believe you were looking for.
Adding a class to the second list:
Hides the second list view when it's empty:
Hope this helps,
Liam