File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
src/gitops/components/shared Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -196,7 +196,9 @@ const ApplicationList: React.FC<ApplicationProps> = ({
196196 { showTitle == undefined && ( project == undefined || appset == undefined ) && (
197197 < ListPageHeader
198198 title = { t ( 'plugin__gitops-plugin~Applications' ) }
199- badge = { < DevPreviewBadge /> }
199+ badge = {
200+ location . pathname ?. includes ( 'openshift-gitops-operator' ) ? null : < DevPreviewBadge />
201+ }
200202 hideFavoriteButton = { false }
201203 >
202204 < ListPageCreate groupVersionKind = { modelToRef ( ApplicationModel ) } >
Original file line number Diff line number Diff line change @@ -259,7 +259,9 @@ const ApplicationSetList: React.FC<ApplicationSetProps> = ({
259259 { showTitle == undefined && (
260260 < ListPageHeader
261261 title = { t ( 'plugin__gitops-plugin~ApplicationSets' ) }
262- badge = { < DevPreviewBadge /> }
262+ badge = {
263+ location . pathname ?. includes ( 'openshift-gitops-operator' ) ? null : < DevPreviewBadge />
264+ }
263265 hideFavoriteButton = { false }
264266 >
265267 < ListPageCreate groupVersionKind = { modelToRef ( ApplicationSetModel ) } >
You can’t perform that action at this time.
0 commit comments