From: David Cho-Lerat Date: Tue, 4 Jul 2023 19:10:21 +0000 (+0200) Subject: SONAR-19863 Remove the re-indexing warning banner for non-admins X-Git-Tag: 10.2.0.77647~356 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5184e654d1c1b30913d6c32566bf14a629709a3e;p=sonarqube.git SONAR-19863 Remove the re-indexing warning banner for non-admins --- diff --git a/server/sonar-web/src/main/js/app/components/indexation/IndexationNotification.tsx b/server/sonar-web/src/main/js/app/components/indexation/IndexationNotification.tsx index d1d96f6f081..da2d32cea3e 100644 --- a/server/sonar-web/src/main/js/app/components/indexation/IndexationNotification.tsx +++ b/server/sonar-web/src/main/js/app/components/indexation/IndexationNotification.tsx @@ -97,7 +97,7 @@ export class IndexationNotification extends React.PureComponent { }, } = this.props; - return ( + return !this.isSystemAdmin ? null : (