Improved handling of empty userdata
Does not show gecos and account data in join message if they are an empty string
This commit is contained in:
parent
500034ff5d
commit
0ccbb90d98
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user