diff --git a/src/components/content/catalog/services/details/ServiceDetail.tsx b/src/components/content/catalog/services/details/ServiceDetail.tsx
index 3265d287c..1166bd076 100644
--- a/src/components/content/catalog/services/details/ServiceDetail.tsx
+++ b/src/components/content/catalog/services/details/ServiceDetail.tsx
@@ -10,6 +10,7 @@ import appStyles from '../../../../../styles/app.module.css';
import catalogStyles from '../../../../../styles/catalog.module.css';
import oclDisplayStyles from '../../../../../styles/ocl-display.module.css';
import { ServiceTemplateDetailVo } from '../../../../../xpanse-api/generated';
+import { ServiceTemplateRegisterStatus } from '../../../common/catalog/ServiceTemplateRegisterStatus.tsx';
import { ApiDoc } from '../../../common/doc/ApiDoc';
import { AgreementText } from '../../../common/ocl/AgreementText';
import { BillingText } from '../../../common/ocl/BillingText';
@@ -17,7 +18,6 @@ import { ContactDetailsShowType } from '../../../common/ocl/ContactDetailsShowTy
import { ContactDetailsText } from '../../../common/ocl/ContactDetailsText';
import { DeploymentText } from '../../../common/ocl/DeploymentText';
import { FlavorsText } from '../../../common/ocl/FlavorsText';
-import { ServiceRegistrationStatus } from './ServiceRegistrationStatus';
import { ShowIcon } from './ShowIcon';
function ServiceDetail({ serviceDetails }: { serviceDetails: ServiceTemplateDetailVo }): React.JSX.Element {
@@ -56,7 +56,7 @@ function ServiceDetail({ serviceDetails }: { serviceDetails: ServiceTemplateDeta
{serviceDetails.namespace}
-
+
{serviceDetails.deployment.credentialType}
diff --git a/src/components/content/catalog/services/details/ServiceRegistrationStatus.tsx b/src/components/content/catalog/services/details/ServiceRegistrationStatus.tsx
deleted file mode 100644
index e9448e788..000000000
--- a/src/components/content/catalog/services/details/ServiceRegistrationStatus.tsx
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * SPDX-License-Identifier: Apache-2.0
- * SPDX-FileCopyrightText: Huawei Inc.
- */
-
-import { CheckCircleOutlined, ExclamationCircleOutlined } from '@ant-design/icons';
-import { Tag } from 'antd';
-import React from 'react';
-import catalogStyles from '../../../../../styles/catalog.module.css';
-import { ServiceTemplateDetailVo } from '../../../../../xpanse-api/generated';
-import serviceRegistrationState = ServiceTemplateDetailVo.serviceRegistrationState;
-
-export function ServiceRegistrationStatus({
- serviceStatus,
-}: {
- serviceStatus: ServiceTemplateDetailVo.serviceRegistrationState;
-}): React.JSX.Element {
- switch (serviceStatus) {
- case serviceRegistrationState.APPROVED:
- return (
- } color='success' className={catalogStyles.catalogServiceStatusSize}>
- {serviceStatus.valueOf()}
-
- );
- case ServiceTemplateDetailVo.serviceRegistrationState.APPROVAL_PENDING:
- return (
- }
- color='orange'
- className={catalogStyles.catalogServiceStatusSize}
- >
- {serviceStatus.valueOf()}
-
- );
- default:
- return (
- }
- color='warning'
- className={catalogStyles.catalogServiceStatusSize}
- >
- {serviceStatus as string}
-
- );
- }
-}
diff --git a/src/components/content/catalog/services/unregister/UnregisterResult.tsx b/src/components/content/catalog/services/unregister/UnregisterResult.tsx
index 2582b14a6..b57b9138e 100644
--- a/src/components/content/catalog/services/unregister/UnregisterResult.tsx
+++ b/src/components/content/catalog/services/unregister/UnregisterResult.tsx
@@ -35,8 +35,8 @@ export function UnregisterResult({
if (useUnregisterRequestState[0].status === 'success') {
return (
) : (
record.serviceRegistrationState.startsWith(value.toString()),
align: 'left',
- render: (serviceRegistrationState: ServiceTemplateDetailVo.serviceRegistrationState) =>
- ServiceTemplateRegisterStatus(serviceRegistrationState),
+ render: (serviceRegistrationState: ServiceTemplateDetailVo.serviceRegistrationState) => (
+
+ ),
},
{
title: 'Deployer Type',
diff --git a/src/components/content/review/ServiceReviewsDetails.tsx b/src/components/content/review/ServiceReviewsDetails.tsx
index 847050e2b..0d469e88d 100644
--- a/src/components/content/review/ServiceReviewsDetails.tsx
+++ b/src/components/content/review/ServiceReviewsDetails.tsx
@@ -107,8 +107,6 @@ export const ServiceReviewsDetails = ({
{currentServiceTemplateVo.name}
-
-
Cloud Service Provider