fix: Avoid conversationId getting undefined in unattended view (#6001)

This commit is contained in:
Pranav Raj S 2022-11-30 20:37:58 -08:00 committed by GitHub
parent 3083f74d45
commit e35638588a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -450,8 +450,7 @@ export default {
return this.currentChat.id;
},
conversationIdByRoute() {
const { conversation_id: conversationId } = this.$route.params;
return conversationId;
return this.conversationId;
},
editorStateId() {
return `draft-${this.conversationIdByRoute}-${this.replyType}`;