aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/helpers/periods.ts
diff options
context:
space:
mode:
authorJacek <jacek.poreda@sonarsource.com>2019-09-06 10:19:26 +0200
committerSonarTech <sonartech@sonarsource.com>2019-09-24 20:21:17 +0200
commite8f1a84869bcb72af1ca30fa78b9c936a3e028a3 (patch)
treec525ec29534c2266bd7cc76cfab344cfa6e1c3ae /server/sonar-web/src/main/js/helpers/periods.ts
parent3079907d1f13a509709c72a5dade87d129a4eb5c (diff)
downloadsonarqube-e8f1a84869bcb72af1ca30fa78b9c936a3e028a3.tar.gz
sonarqube-e8f1a84869bcb72af1ca30fa78b9c936a3e028a3.zip
Fix conflicts after rebase
Diffstat (limited to 'server/sonar-web/src/main/js/helpers/periods.ts')
-rw-r--r--server/sonar-web/src/main/js/helpers/periods.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/helpers/periods.ts b/server/sonar-web/src/main/js/helpers/periods.ts
index 6a9702fec7b..b2442175b78 100644
--- a/server/sonar-web/src/main/js/helpers/periods.ts
+++ b/server/sonar-web/src/main/js/helpers/periods.ts
@@ -43,7 +43,7 @@ export function getPeriodLabel(
switch (period.mode) {
case 'SPECIFIC_ANALYSIS':
- parameter = dateFormatter(period.date);
+ parameter = parameter || dateFormatter(period.date);
break;
case 'PREVIOUS_VERSION':
parameter = parameter || dateFormatter(period.date);