X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FChat.vue;h=8f1646f456aca6e9b9cd1892051d20ea054395de;hb=3837d4f7885a3c3cdb468da2f3fa3fa1e5a1415a;hp=980cd177d1f977573a50d1babb11577b7d413722;hpb=9ca1e26b79ec1873aa6ac914013160f8593d52cf;p=vchess.git diff --git a/client/src/components/Chat.vue b/client/src/components/Chat.vue index 980cd177..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")