From dd8d5848fc4c929ec5fb82abcf0c2025ce39c721 Mon Sep 17 00:00:00 2001 From: David Cho-Lerat Date: Tue, 4 Jul 2023 10:23:55 +0200 Subject: [PATCH] SONAR-19736 Unlock portfolios --- .../main/js/app/components/extensions/PortfolioPage.tsx | 7 ++----- .../main/js/app/components/extensions/PortfoliosPage.tsx | 7 ++----- .../src/main/resources/org/sonar/l10n/core.properties | 2 +- 3 files changed, 5 insertions(+), 11 deletions(-) diff --git a/server/sonar-web/src/main/js/app/components/extensions/PortfolioPage.tsx b/server/sonar-web/src/main/js/app/components/extensions/PortfolioPage.tsx index 4e009cae0e1..93e1e56e487 100644 --- a/server/sonar-web/src/main/js/app/components/extensions/PortfolioPage.tsx +++ b/server/sonar-web/src/main/js/app/components/extensions/PortfolioPage.tsx @@ -17,13 +17,10 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + import * as React from 'react'; -import withIndexationGuard from '../../../components/hoc/withIndexationGuard'; -import { PageContext } from '../indexation/PageUnavailableDueToIndexation'; import ProjectPageExtension from './ProjectPageExtension'; -export function PortfolioPage() { +export default function PortfolioPage() { return ; } - -export default withIndexationGuard(PortfolioPage, PageContext.Portfolios); diff --git a/server/sonar-web/src/main/js/app/components/extensions/PortfoliosPage.tsx b/server/sonar-web/src/main/js/app/components/extensions/PortfoliosPage.tsx index 46f734ee132..3b2a0226ad3 100644 --- a/server/sonar-web/src/main/js/app/components/extensions/PortfoliosPage.tsx +++ b/server/sonar-web/src/main/js/app/components/extensions/PortfoliosPage.tsx @@ -17,13 +17,10 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + import * as React from 'react'; -import withIndexationGuard from '../../../components/hoc/withIndexationGuard'; -import { PageContext } from '../indexation/PageUnavailableDueToIndexation'; import GlobalPageExtension from './GlobalPageExtension'; -export function PortfoliosPage() { +export default function PortfoliosPage() { return ; } - -export default withIndexationGuard(PortfoliosPage, PageContext.Portfolios); diff --git a/sonar-core/src/main/resources/org/sonar/l10n/core.properties b/sonar-core/src/main/resources/org/sonar/l10n/core.properties index 62c85b682af..971d1ebe226 100644 --- a/sonar-core/src/main/resources/org/sonar/l10n/core.properties +++ b/sonar-core/src/main/resources/org/sonar/l10n/core.properties @@ -544,7 +544,7 @@ layout.security_reports=Security Reports layout.nav.home_logo_alt=Logo, link to homepage layout.must_be_configured=This will be available once your project is configured and analyzed. layout.all_project_must_be_accessible=You need access to all projects within this {0} to access it. -layout.component_must_be_reindexed=This will be available once your project has been reindexed. +layout.component_must_be_reindexed=This will be available once the reindexing has completed. sidebar.projects=Projects sidebar.project_settings=Configuration -- 2.39.5