aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web
diff options
context:
space:
mode:
authorWouter Admiraal <wouter.admiraal@sonarsource.com>2020-12-07 15:40:49 +0100
committersonartech <sonartech@sonarsource.com>2020-12-17 20:08:01 +0000
commit5997c86172976ca177723ca2807375ce6b80b7eb (patch)
treee9aab350e5bb392286fe449f5e99f69f5ba11dbd /server/sonar-web
parentf51011c87bcd75c4d0fe97249dcab145b8da8dc5 (diff)
downloadsonarqube-5997c86172976ca177723ca2807375ce6b80b7eb.tar.gz
sonarqube-5997c86172976ca177723ca2807375ce6b80b7eb.zip
SONAR-13764 Do not display two error messages simultaneously
Diffstat (limited to 'server/sonar-web')
-rw-r--r--server/sonar-web/src/main/js/apps/issues/components/App.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/issues/components/App.tsx b/server/sonar-web/src/main/js/apps/issues/components/App.tsx
index 5a0d3207965..1532651a140 100644
--- a/server/sonar-web/src/main/js/apps/issues/components/App.tsx
+++ b/server/sonar-web/src/main/js/apps/issues/components/App.tsx
@@ -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',