aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>2017-10-04 12:40:20 +0200
committerGrégoire Aubert <gregoire.aubert@sonarsource.com>2017-10-05 10:40:08 +0200
commita9d2422b125b9d89cd8efeef69b43439d41d0bf5 (patch)
tree3a9713a84fced9df2b6bbaae5d957000e29021f1 /server
parentac411892a8fd09a4a422218efafb6f9f233a7f90 (diff)
downloadsonarqube-a9d2422b125b9d89cd8efeef69b43439d41d0bf5.tar.gz
sonarqube-a9d2422b125b9d89cd8efeef69b43439d41d0bf5.zip
SONAR-9916 Reset notExist component flag when a component is correctly loading in the issue viewer
Diffstat (limited to 'server')
-rw-r--r--server/sonar-web/src/main/js/components/SourceViewer/SourceViewerBase.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/components/SourceViewer/SourceViewerBase.js b/server/sonar-web/src/main/js/components/SourceViewer/SourceViewerBase.js
index afda1bbd764..b65c2d51bc5 100644
--- a/server/sonar-web/src/main/js/components/SourceViewer/SourceViewerBase.js
+++ b/server/sonar-web/src/main/js/components/SourceViewer/SourceViewerBase.js
@@ -250,6 +250,7 @@ export default class SourceViewerBase extends React.PureComponent {
issuesByLine: issuesByLine(issues),
issueLocationsByLine: locationsByLine(issues),
loading: false,
+ notExist: false,
hasSourcesAfter: sources.length > LINES,
sources: this.computeCoverageStatus(finalSources),
sourceRemoved: false,