it should be possible to hide the complete panel if no facets are returned.
Try wrapping the
</@s.FacetedSearch> in a conditional that checks if there are any facets returned in the response of the data model. Something like:
Note: I'm not currently in a position to check the exact conditional to use but it should be something like that (ie. may not be exists, but something like != "" etc)