upd: view.vue.container.inbox (minmod: cleaned code 'msg[0]' instead of 'gstore.notif[1].data[id][0]')
This commit is contained in:
parent
9b67c15a6b
commit
adcaf1a72f
|
@ -3,7 +3,7 @@
|
|||
<div id='CONTAINER' class='message'>
|
||||
|
||||
<div v-for='(msg, id) in gstore.notif[1].data' :class="msg[0] == gstore.server.session.name ? 'me' : ''" :data-noauthor='id == 0 || gstore.notif[1].data[id-1][0] != gstore.notif[1].data[id][0] ? "1" : "0"'>
|
||||
<span class='author' v-text='msg[0]' v-if='id == 0 || gstore.notif[1].data[id-1][0] != gstore.notif[1].data[id][0]'></span>
|
||||
<span class='author' v-text='msg[0]' v-if='id == 0 || gstore.notif[1].data[id-1][0] != msg[0]'></span>
|
||||
<span class='content' v-html='bbcode(msg[1])'></span>
|
||||
</div>
|
||||
|
||||
|
@ -13,6 +13,7 @@
|
|||
<input type='text' placeholder='Nouveau message..' id='msg-new-content' v-model='gstore.new_msg'>
|
||||
<button></button>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue