From: Benjamin Auder Date: Tue, 4 Feb 2020 09:09:10 +0000 (+0100) Subject: Fix chat X-Git-Url: https://git.auder.net/assets/doc/html/DESCRIPTION?a=commitdiff_plain;h=bfe9a1357f43c2a2cc271e0f244f4785363d7961;p=vchess.git Fix chat --- diff --git a/client/src/components/Chat.vue b/client/src/components/Chat.vue index 18ce6fa9..d8513b31 100644 --- a/client/src/components/Chat.vue +++ b/client/src/components/Chat.vue @@ -3,10 +3,10 @@ div input#inputChat(type="text" :placeholder="st.tr['Type here']" @keyup.enter="sendChat") button#sendChatBtn(@click="sendChat") {{ st.tr["Send"] }} - 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") + p(v-for="chat in pastChats" :class="classObject(chat)" + v-html="chat.name + ': ' + chat.msg")