fix up userOnlineFor function

This commit is contained in:
Natsumi
2020-12-18 06:42:57 +13:00
committed by pypy
parent 74fa583b99
commit 8cd81221ad
2 changed files with 7 additions and 34 deletions

View File

@@ -774,7 +774,9 @@ html
.detail
span.name(v-if="userDialog.ref.state === 'online'") Online For
span.name(v-else) Offline For
span.extra(v-text="onlineFor(userDialog)")
span.extra
timer(v-if="userOnlineFor(userDialog)" :epoch="userOnlineFor(userDialog)")
span(v-else) -
.x-friend-item
.detail
span.name Last Login