fix: vue.emergency (now detect session.name instead of session.user)

This commit is contained in:
xdrm-brackets 2017-12-07 20:51:06 +01:00
parent 0861185a8e
commit 3434ac229c
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
<div id='CONTAINER' class='message'>
<div v-for='(msg, id) in gstore.notif.emergency.data' :class="msg.user == gstore.server.session.user ? 'me' : ''" :data-noauthor='id == 0 || gstore.notif.emergency.data[id-1].user != msg.user ? "1" : "0"'>
<div v-for='(msg, id) in gstore.notif.emergency.data' :class="msg.user == gstore.server.session.name ? 'me' : ''" :data-noauthor='id == 0 || gstore.notif.emergency.data[id-1].user != msg.user ? "1" : "0"'>
<span class='author' v-text='msg.user' v-if='id == 0 || gstore.notif.emergency.data[id-1].user != msg.user'></span>
<span class='content' v-html='bbcode(msg.message)'></span>
<span class='date' v-text='local_date(id)'></span>