X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FChat.vue;h=8f1646f456aca6e9b9cd1892051d20ea054395de;hp=cd3c3c89b7932e6a7fac246f43fd35d9981e678c;hb=3837d4f7885a3c3cdb468da2f3fa3fa1e5a1415a;hpb=c547fbfbf65659b98f4f1bfba4718c685ec281f8 diff --git a/client/src/components/Chat.vue b/client/src/components/Chat.vue index cd3c3c89..8f1646f4 100644 --- a/client/src/components/Chat.vue +++ b/client/src/components/Chat.vue @@ -3,7 +3,8 @@ input#inputChat(type="text" :placeholder="st.tr['Type here']" @keyup.enter="sendChat") button#sendChatBtn(@click="sendChat") {{ st.tr["Send"] }} - p(v-for="chat in chats" :class="classObject(chat)" v-html="chat.msg") + p(v-for="chat in pastChats" :class="classObject(chat)" v-html="chat.name + ': ' + chat.msg") + p(v-for="chat in chats" :class="classObject(chat)" v-html="chat.name + ': ' + chat.msg")