aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/helpers/periods.ts
diff options
context:
space:
mode:
authorJeremy Davis <jeremy.davis@sonarsource.com>2019-09-24 11:03:48 +0200
committerSonarTech <sonartech@sonarsource.com>2019-09-24 20:21:18 +0200
commit81516c0b3c97ab54d9d926f059b050259febe997 (patch)
tree24567c5eeb058d8c95d5b8de2f3a51679754a924 /server/sonar-web/src/main/js/helpers/periods.ts
parenta78423a63dd2c279ca7c80dfbbb75f616d3bc5d7 (diff)
downloadsonarqube-81516c0b3c97ab54d9d926f059b050259febe997.tar.gz
sonarqube-81516c0b3c97ab54d9d926f059b050259febe997.zip
Fixes from review
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 b2442175b78..6a9702fec7b 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 = parameter || dateFormatter(period.date);
+ parameter = dateFormatter(period.date);
break;
case 'PREVIOUS_VERSION':
parameter = parameter || dateFormatter(period.date);