]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-19736 Unlock portfolios
authorDavid Cho-Lerat <david.cho-lerat@sonarsource.com>
Tue, 4 Jul 2023 08:23:55 +0000 (10:23 +0200)
committersonartech <sonartech@sonarsource.com>
Wed, 19 Jul 2023 20:03:04 +0000 (20:03 +0000)
server/sonar-web/src/main/js/app/components/extensions/PortfolioPage.tsx
server/sonar-web/src/main/js/app/components/extensions/PortfoliosPage.tsx
sonar-core/src/main/resources/org/sonar/l10n/core.properties

index 4e009cae0e1173a229110b5c0c5371284b89b6cc..93e1e56e487c689b56ee3a806a8aba6fd267797f 100644 (file)
  * 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 <ProjectPageExtension params={{ pluginKey: 'governance', extensionKey: 'portfolio' }} />;
 }
-
-export default withIndexationGuard(PortfolioPage, PageContext.Portfolios);
index 46f734ee13214be93466f58225dac193faaf98ab..3b2a0226ad3e4d20f18fb01ba25889a8e2f3689e 100644 (file)
  * 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 <GlobalPageExtension params={{ pluginKey: 'governance', extensionKey: 'portfolios' }} />;
 }
-
-export default withIndexationGuard(PortfoliosPage, PageContext.Portfolios);
index 62c85b682afe0042cfdaf2e27a16ccee49318e30..971d1ebe226019d38bd338f0362fef14be378b4d 100644 (file)
@@ -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