File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
frontend/src/components/app/matches Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 22 <!-- eslint-disable max-len -->
33 <div class =" chat md:w-full md:max-w-2xl md:shadow-md md:rounded-md md:p-4 md:flex md:flex-col md:justify-start" >
44 <div class =" w-1/2 flex items-center justify-between ml-auto" >
5- <div v-if =" user" class =" -ml-6 text-center" >
6- <ChatUser v-bind:match =" user" ></ChatUser >
7- <h1 class =" text-gray-matcha opacity-75 text-sm" >{{user.first_name}}</h1 >
5+ <div v-if =" user" class =" -ml-6 text-center flex" >
6+ <div >
7+ <ChatUser v-bind:match =" user" ></ChatUser >
8+ <h1 class =" text-gray-matcha opacity-75 text-sm" >{{user.first_name}}</h1 >
9+ </div >
10+ <div v-if =" newMessageCount" class =" ml-4 flex items-center justify-center" >
11+ <h1 class =" text-purple-matcha text-sm font-bold" >{{newMessageCount}}</h1 >
12+ </div >
813 </div >
914 <div class =" md:hidden cursor-pointer text-lg lg:text-2xl w-10 h-10 flex items-center justify-center"
1015 v-on:click =" closeChat()" >
@@ -58,6 +63,7 @@ export default {
5863 user: null ,
5964 message: ' ' ,
6065 loggedInUserId: null ,
66+ newMessageCount: null ,
6167 }),
6268 methods: {
6369 closeChat () {
You can’t perform that action at this time.
0 commit comments