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 committed by SeekDaSky
parent c01cbb89a7
commit e30b4a6098
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>