Commit 17046c35 authored by Alfredo Sumaran's avatar Alfredo Sumaran

Show seconds it total time is less than a minute

parent 515fab4d
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<template v-if="time.days">{{ time.days }} <span>{{ time.days === 1 ? 'day' : 'days' }}</span></template> <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.hours">{{ time.hours }} <span>hr</span></template>
<template v-if="time.mins">{{ time.mins }} <span>mins</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> </span>
`, `,
}); });
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment