diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2016-11-16 22:11:24 -0500 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2016-11-21 13:57:10 -0500 |
commit | 17046c35464c94080598364bf67bb89545dd0b65 (patch) | |
tree | c214d81aba275ef1628253a83c1552638b2595df | |
parent | 515fab4d490d9a7d7375b052de164c8c3afc0d63 (diff) | |
download | gitlab-ce-17046c35464c94080598364bf67bb89545dd0b65.tar.gz |
Show seconds it total time is less than a minute
-rw-r--r-- | app/assets/javascripts/cycle_analytics/components/total_time_component.js.es6 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/cycle_analytics/components/total_time_component.js.es6 b/app/assets/javascripts/cycle_analytics/components/total_time_component.js.es6 index 82b1a00901e..ebecd2fb7d4 100644 --- a/app/assets/javascripts/cycle_analytics/components/total_time_component.js.es6 +++ b/app/assets/javascripts/cycle_analytics/components/total_time_component.js.es6 @@ -10,7 +10,7 @@ <template v-if="time.days">{{ time.days }} <span>{{ time.days === 1 ? 'day' : 'days' }}</span></template> <template v-if="time.hours">{{ time.hours }} <span>hr</span></template> <template v-if="time.mins">{{ time.mins }} <span>mins</span></template> - <!-- <template v-if="time.seconds">{{ time.seconds }} <span>s</span></template> --> + <template v-if="time.seconds && !time.mins">{{ time.seconds }} <span>s</span></template> </span> `, }); |