Option to hide empty tables

Previously tables were hidden if there were no rows visible due to data filtering etc.
Now the table heading, column titles, actions etc are always visible.

While this is useful for some who need the action button of a table to be visible.
It can cause issue for some use cases.

The option to hide/display tables when empty may be the best fix for this.

See below screenshot of the issues the current setup causes. It is a confusing view for users.