fix tooltip

This commit is contained in:
Steffen 2020-09-17 10:47:13 +02:00
parent ccf01a0bbe
commit 919abaa0eb
1 changed files with 3 additions and 1 deletions

View File

@ -7,7 +7,9 @@
v-if="session.sessionId"
@click="leaveSession"
:title="
`${session.playerCount} other players in this session (${session.ping}ms latency)`
`${session.playerCount} other players in this session${
session.ping ? ' (' + session.ping + 'ms latency)' : ''
}`
"
>
<font-awesome-icon icon="broadcast-tower" />