Skip to content

Commit

Permalink
fix: handle new RC format (#1407)
Browse files Browse the repository at this point in the history
* fix: handle new RC format

* fixup! fix: handle new RC format
  • Loading branch information
aleixhub authored Aug 29, 2023
1 parent 74c431c commit 06b450e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion catalog/ui/src/app/Admin/ResourceClaims.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ const ResourceClaims: React.FC<{}> = () => {
const statusCell = (
// Status
<React.Fragment key="status">
{specResources.length >= 1 ? (
{specResources.length >= 1 || resourceClaim.status?.summary ? (
<ServiceStatus
creationTime={Date.parse(resourceClaim.metadata.creationTimestamp)}
resource={getMostRelevantResourceAndTemplate(resourceClaim).resource}
Expand Down
2 changes: 1 addition & 1 deletion catalog/ui/src/app/Workshops/WorkshopsItemServices.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ const WorkshopsItemServices: React.FC<{

// Status
<>
{specResources.length >= 1 ? (
{specResources.length >= 1 || resourceClaim.status?.summary ? (
<ServiceStatus
creationTime={Date.parse(resourceClaim.metadata.creationTimestamp)}
resource={getMostRelevantResourceAndTemplate(resourceClaim).resource}
Expand Down

0 comments on commit 06b450e

Please sign in to comment.