From 5184e654d1c1b30913d6c32566bf14a629709a3e Mon Sep 17 00:00:00 2001 From: David Cho-Lerat Date: Tue, 4 Jul 2023 21:10:21 +0200 Subject: [PATCH] SONAR-19863 Remove the re-indexing warning banner for non-admins --- .../js/app/components/indexation/IndexationNotification.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 : (