fix(poll): show poll times
This commit is contained in:
parent
58e51d4358
commit
4bc72905de
9 changed files with 9 additions and 9 deletions
|
@ -60,7 +60,7 @@ async function vote(e: Event) {
|
|||
</div>
|
||||
</template>
|
||||
<div text-sm>
|
||||
{{ $t('status.poll.count', formatHumanReadableNumber(poll.votersCount ?? 0)) }}
|
||||
{{ $t('status.poll.count', [formatHumanReadableNumber(poll.votersCount ?? 0)]) }}
|
||||
·
|
||||
<CommonTooltip :content="expiredTimeFormatted" class="inline-block" placement="right">
|
||||
<time :datetime="poll.expiresAt!">{{ $t(poll.expired ? 'status.poll.finished' : 'status.poll.ends', [expiredTimeAgo]) }}</time>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue