Skip to content

Commit

Permalink
fix(chatbar): fix undefined value from incorrectly being set (#4138)
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-power committed Aug 5, 2022
1 parent d21af98 commit 8b64cdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/views/chat/chatbar/Chatbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ const Chatbar = Vue.extend({
},
},
mounted() {
const message = this.chat.draftMessages[this.conversationId]
const message = this.chat.draftMessages[this.conversationId] ?? ''
this.$store.commit('chat/clearReplyChatbarMessage', {
conversationId: this.conversationId,
})
Expand Down

0 comments on commit 8b64cdf

Please sign in to comment.