]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-13764 Do not display two error messages simultaneously
authorWouter Admiraal <wouter.admiraal@sonarsource.com>
Mon, 7 Dec 2020 14:40:49 +0000 (15:40 +0100)
committersonartech <sonartech@sonarsource.com>
Thu, 17 Dec 2020 20:08:01 +0000 (20:08 +0000)
server/sonar-web/src/main/js/apps/issues/components/App.tsx

index 5a0d3207965c620a49d3b376a0400c10ad50f405..1532651a140c382b8ab93ebe48ad5cc4fddcbc9a 100644 (file)
@@ -1141,7 +1141,7 @@ export default class App extends React.PureComponent<Props, State> {
                 />
               </Alert>
             )}
-            {cannotShowOpenIssue && (
+            {cannotShowOpenIssue && (!paging || paging.total > 0) && (
               <Alert className="big-spacer-bottom" variant="warning">
                 {translateWithParameters(
                   'issues.cannot_open_issue_max_initial_X_fetched',