diff --git a/portals/publisher/src/main/webapp/site/public/locales/en.json b/portals/publisher/src/main/webapp/site/public/locales/en.json index d035a580099..704eb253cdd 100644 --- a/portals/publisher/src/main/webapp/site/public/locales/en.json +++ b/portals/publisher/src/main/webapp/site/public/locales/en.json @@ -1683,7 +1683,6 @@ "Apis.Listing.SampleAPI.popup.revision.inprogress": "Creating a revision of sample API ...", "Apis.Listing.SampleAPI.popup.update.complete": "API updated successfully!", "Apis.Listing.SampleAPI.popup.update.inprogress": "Updating sample API ...", - "Apis.Listing.SampleAPIProduct.creator.error": "API is not deployed yet! Please deploy the API before trying out", "Apis.Listing.SampleAPIProduct.description": "Combine multiple API resources in to a single API", "Apis.Listing.SampleAPIProduct.onboarding.menu.card.name": "API Product", "Apis.Listing.TableView.TableView.def.flag": "[Def]", @@ -2071,7 +2070,6 @@ "Workflow.subscriptionupdate.updateStatus.has.errors": "Unable to complete subscription update approve/reject process.", "api.console.security.heading": "Security", "app.components.Shared.Banner.back": "Back", - "app.components.Shared.onboarding.insufficient.permissions": "*You are not authorized to create or update {name} due to insufficient permissions", "block.all": "Block All", "block.production.only": "Block Production Only", "by": "By", diff --git a/portals/publisher/src/main/webapp/source/src/app/components/Apis/Listing/SampleAPI/SampleAPIProduct.jsx b/portals/publisher/src/main/webapp/source/src/app/components/Apis/Listing/SampleAPI/SampleAPIProduct.jsx index baa2f1bdc6b..2401432fe22 100644 --- a/portals/publisher/src/main/webapp/source/src/app/components/Apis/Listing/SampleAPI/SampleAPIProduct.jsx +++ b/portals/publisher/src/main/webapp/source/src/app/components/Apis/Listing/SampleAPI/SampleAPIProduct.jsx @@ -19,13 +19,11 @@ import React from 'react'; import { withRouter } from 'react-router'; import { useTheme } from '@mui/material'; -import Grid from '@mui/material/Grid'; import OnboardingMenuCard from 'AppComponents/Shared/Onboarding/OnboardingMenuCard'; import Onboarding from 'AppComponents/Shared/Onboarding/Onboarding'; import { PropTypes } from 'prop-types'; import { FormattedMessage, injectIntl, useIntl } from 'react-intl'; import AuthManager from 'AppData/AuthManager'; -import Alert from 'AppComponents/Shared/MuiAlert'; /** * Show Initial Welcome card if no APIs are available to list @@ -53,20 +51,6 @@ function SampleAPI() { /> )} > - {AuthManager.isNotPublisher() - && ( - <> - - - - - - - - )} { {name} - - {disabled && ( - - - - - - )} -