invert logic for when to show type column
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-catalog': patch
|
||||
---
|
||||
|
||||
invert logic for when to show type column
|
||||
@@ -60,7 +60,7 @@ export const CatalogTable = ({ columns }: CatalogTableProps) => {
|
||||
const { isStarredEntity, toggleStarredEntity } = useStarredEntities();
|
||||
const { loading, error, entities, filters } = useEntityListProvider();
|
||||
|
||||
const showTypeColumn = filters.type !== undefined;
|
||||
const showTypeColumn = filters.type === undefined;
|
||||
// TODO(timbonicus): we should show filter chips for all filters instead
|
||||
const titlePreamble = capitalize(filters.user?.value ?? 'all');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user