Merge pull request #4190 from Nachtalb/na/improved-handling-of-empty-userdata

Improved handling of empty userdata
This commit is contained in:
Max Leiter 2021-04-11 20:12:35 -07:00 committed by GitHub
commit df4f78098c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,11 +2,11 @@
<span class="content"> <span class="content">
<Username :user="message.from" /> <Username :user="message.from" />
<i class="hostmask"> ({{ message.hostmask }})</i> <i class="hostmask"> ({{ message.hostmask }})</i>
<template v-if="message.account !== false"> <template v-if="message.account">
<i class="account"> [{{ message.account }}]</i> <i class="account"> [{{ message.account }}]</i>
</template> </template>
<template v-if="message.gecos !== false"> <template v-if="message.gecos">
<i class="realname"> {{ message.gecos }} -</i> <i class="realname"> {{ message.gecos }}</i>
</template> </template>
has joined the channel has joined the channel
</span> </span>