The Directory and File facets' search doesn't work for Applications and Portfolios.
When opening the Directory facet, and using the search functionality to find a specific item, the list is always empty. The underlying WS endpoint, api/components/tree, doesn't return any values when using DIR as a value for the qualifiers parameter. The same problem exists for the Files facet, which uses the FIL qualifier.
Applications and Portfolios don't actually have directories or files themselves. We should simply deactivate the facets for Applications and Portfolios.