Merge pull request #5838 from backstage/freben/invert-type-column

invert logic for when to show type column
This commit is contained in:
Fredrik Adelöw
2021-05-27 16:13:37 +02:00
committed by GitHub
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');