We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c898198 commit 62a82fcCopy full SHA for 62a82fc
frontend/src/components/app/matches/Chat.vue
@@ -128,15 +128,6 @@ export default {
128
this.scrollChatToBottom();
129
},
130
131
- watch: {
132
- chatWithUserId: {
133
- async handler() {
134
- if (this.chatWithUserId) {
135
- await this.prepareChatForNewUser();
136
- }
137
- },
138
139
140
async beforeMount() {
141
await this.prepareChatForNewUser();
142
this.loggedInUserId = this.$store.getters.getLoggedInUser.id;
frontend/src/views/app/Matches.vue
@@ -41,6 +41,7 @@
41
</div>
42
<Chat class="absolute top-0 w-full h-full bg-white-matcha
43
md:relative md:ml-4"
44
+ :key="chatWithUserId"
45
v-if="chatWithUserId"
46
v-bind:chatWithUserId="chatWithUserId"
47
v-on:new-message="fetchMessages"
0 commit comments