From b5cb8496d97d40aa76dd9c0af2bcbaa9fa6abea3 Mon Sep 17 00:00:00 2001 From: Revanshu Paliwal Date: Tue, 13 Jun 2023 10:58:19 +0200 Subject: [PATCH] SONAR-19345 Correcting scroll behaviour for issue pages --- .../src/main/js/apps/issues/components/IssuesApp.tsx | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/server/sonar-web/src/main/js/apps/issues/components/IssuesApp.tsx b/server/sonar-web/src/main/js/apps/issues/components/IssuesApp.tsx index ef342cf6da9..f281d730592 100644 --- a/server/sonar-web/src/main/js/apps/issues/components/IssuesApp.tsx +++ b/server/sonar-web/src/main/js/apps/issues/components/IssuesApp.tsx @@ -971,11 +971,11 @@ export class App extends React.PureComponent { return (
-
{warning}
+ {warning &&
{warning}
} {currentUser.isLoggedIn && (
@@ -1045,7 +1045,7 @@ export class App extends React.PureComponent { {({ top }) => (