From 5e53b21efb1a2eeb955dd1c623adb69e3fa34689 Mon Sep 17 00:00:00 2001 From: Keith Chong Date: Wed, 22 Oct 2025 11:09:27 -0400 Subject: [PATCH] Hide Dev Preview Badges in list pages under Operand tabs (#8031) Signed-off-by: Keith Chong --- src/gitops/components/shared/ApplicationList.tsx | 4 +++- src/gitops/components/shared/ApplicationSetList.tsx | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/gitops/components/shared/ApplicationList.tsx b/src/gitops/components/shared/ApplicationList.tsx index ec4ef5e8..804668b3 100644 --- a/src/gitops/components/shared/ApplicationList.tsx +++ b/src/gitops/components/shared/ApplicationList.tsx @@ -196,7 +196,9 @@ const ApplicationList: React.FC = ({ {showTitle == undefined && (project == undefined || appset == undefined) && ( } + badge={ + location.pathname?.includes('openshift-gitops-operator') ? null : + } hideFavoriteButton={false} > diff --git a/src/gitops/components/shared/ApplicationSetList.tsx b/src/gitops/components/shared/ApplicationSetList.tsx index 0a3d67f1..f7cf70e4 100644 --- a/src/gitops/components/shared/ApplicationSetList.tsx +++ b/src/gitops/components/shared/ApplicationSetList.tsx @@ -259,7 +259,9 @@ const ApplicationSetList: React.FC = ({ {showTitle == undefined && ( } + badge={ + location.pathname?.includes('openshift-gitops-operator') ? null : + } hideFavoriteButton={false} >