From 5a8aee4a5c14424e96b24c120b44acd6392d9145 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20Adel=C3=B6w?= Date: Wed, 10 Jun 2020 11:46:18 +0200 Subject: [PATCH] Use location?.type once more --- plugins/catalog/src/components/CatalogPage/CatalogPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/catalog/src/components/CatalogPage/CatalogPage.tsx b/plugins/catalog/src/components/CatalogPage/CatalogPage.tsx index 0253fdd1f5..eac753d9fa 100644 --- a/plugins/catalog/src/components/CatalogPage/CatalogPage.tsx +++ b/plugins/catalog/src/components/CatalogPage/CatalogPage.tsx @@ -92,7 +92,7 @@ export const CatalogPage: FC<{}> = () => { if (!location) return; window.open(location.target, '_blank'); }, - hidden: location ? location?.type !== 'github' : true, + hidden: location?.type !== 'github', }; }, (rowData: Entity) => {