From 39d3bfa4e9fda86f69d78c2a984c62aeb9a47f9c Mon Sep 17 00:00:00 2001 From: zeshanziya Date: Fri, 30 Aug 2024 11:28:08 +0000 Subject: [PATCH] render platformsh tab based on availability --- packages/app/src/components/catalog/EntityPage.tsx | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/packages/app/src/components/catalog/EntityPage.tsx b/packages/app/src/components/catalog/EntityPage.tsx index aa4f1b5..7f7a5ab 100644 --- a/packages/app/src/components/catalog/EntityPage.tsx +++ b/packages/app/src/components/catalog/EntityPage.tsx @@ -58,7 +58,10 @@ import { EntityKubernetesContent, isKubernetesAvailable, } from '@backstage/plugin-kubernetes'; -import { EntityPlatformshContents } from '@internal/backstage-plugin-platformsh'; +import { + EntityPlatformshContents, + isPlatformshAvailable, +} from '@internal/backstage-plugin-platformsh'; const techdocsContent = ( @@ -224,7 +227,11 @@ const websiteEntityPage = ( {techdocsContent} - +