Skip to content

Commit

Permalink
Bump ui to v0.32.11 (#2156)
Browse files Browse the repository at this point in the history
* Bump ui to v0.32.11
  • Loading branch information
aleixhub authored Sep 23, 2024
1 parent dd35d16 commit cd14e77
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion catalog/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ ui:
name: # default use chart name + '-ui'
image:
#override:
tag: v0.32.10
tag: v0.32.11
repository: quay.io/redhat-gpte/babylon-catalog-ui
pullPolicy: IfNotPresent
replicaCount: 1
Expand Down
12 changes: 9 additions & 3 deletions catalog/ui/src/app/Admin/CatalogIncidentsAlertList.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
import React, { useMemo } from 'react';
import { Label, Panel, PanelMain, Title } from '@patternfly/react-core';
import { Badge, Label, Panel, PanelMain, Title } from '@patternfly/react-core';
import useSWR from 'swr';
import { apiPaths, fetcher } from '@app/api';
import { CatalogItem, CatalogItemIncidents } from '@app/types';
import { Table /* data-codemods */, Tbody, Td, Th, Thead, Tr } from '@patternfly/react-table';
import TimeInterval from '@app/components/TimeInterval';
import { fetchCatalog } from '@app/Catalog/Catalog';
import useSWRImmutable from 'swr/immutable';
import useSession from '@app/utils/useSession';
import { BABYLON_DOMAIN, displayName, getStageFromK8sObject } from '@app/util';
import { getStatus } from '@app/Catalog/catalog-utils';
import { getStage, getStatus } from '@app/Catalog/catalog-utils';
import StatusPageIcons from '@app/components/StatusPageIcons';

import './admin.css';
Expand Down Expand Up @@ -72,6 +71,13 @@ const CatalogIncidentsAlertList: React.FC = () => {
<a href={`/admin/catalogitems/${ci.metadata.namespace}/${ci.metadata.name}`}>
{displayName(ci)}
</a>
{ getStage(ci) === 'dev' ? (
<Badge className="catalog-item-card__badge--dev">development</Badge>
) : getStage(ci) === 'test' ? (
<Badge className="catalog-item-card__badge--test">test</Badge>
) : getStage(ci) === 'event' ? (
<Badge className="catalog-item-card__badge--event">event</Badge>
) : null}
</Td>
<Td dataLabel="status">
<Label
Expand Down
2 changes: 1 addition & 1 deletion helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ catalog:
image:
pullPolicy: IfNotPresent
repository: quay.io/redhat-gpte/babylon-catalog-ui
tag: v0.32.10
tag: v0.32.11
replicaCount: 1
resources:
requests:
Expand Down

0 comments on commit cd14e77

Please sign in to comment.