invert logic for when to show type column

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2021-05-27 15:50:30 +02:00
parent f4a7fd8126
commit 2a942cc9e9
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -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');