aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src
diff options
context:
space:
mode:
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>2017-10-18 14:58:06 +0200
committerGrégoire Aubert <gregoire.aubert@sonarsource.com>2017-10-23 08:01:13 -0700
commit4c2939774e21f7e0916c596dfb977e23a48a9c47 (patch)
treeba26bae8984010dd3a62e1c20f084400d6fef59a /server/sonar-web/src
parentacfe2c272eb11a08eac296ba50fd57c632d6cec3 (diff)
downloadsonarqube-4c2939774e21f7e0916c596dfb977e23a48a9c47.tar.gz
sonarqube-4c2939774e21f7e0916c596dfb977e23a48a9c47.zip
SONAR-9936 Automatically update edition status every 5 seconds
Diffstat (limited to 'server/sonar-web/src')
-rw-r--r--server/sonar-web/src/main/js/apps/marketplace/App.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/apps/marketplace/App.tsx b/server/sonar-web/src/main/js/apps/marketplace/App.tsx
index 74512fb5dd6..eaf510ac707 100644
--- a/server/sonar-web/src/main/js/apps/marketplace/App.tsx
+++ b/server/sonar-web/src/main/js/apps/marketplace/App.tsx
@@ -155,6 +155,7 @@ export default class App extends React.PureComponent<Props, State> {
editionStatus => {
if (this.mounted) {
this.updateEditionStatus(editionStatus);
+ setTimeout(this.fetchEditionStatus, 5000);
}
},
() => {}