fix: Avoid conversationId getting undefined in unattended view (#6001)
This commit is contained in:
parent
3083f74d45
commit
e35638588a
1 changed files with 1 additions and 2 deletions
|
@ -450,8 +450,7 @@ export default {
|
||||||
return this.currentChat.id;
|
return this.currentChat.id;
|
||||||
},
|
},
|
||||||
conversationIdByRoute() {
|
conversationIdByRoute() {
|
||||||
const { conversation_id: conversationId } = this.$route.params;
|
return this.conversationId;
|
||||||
return conversationId;
|
|
||||||
},
|
},
|
||||||
editorStateId() {
|
editorStateId() {
|
||||||
return `draft-${this.conversationIdByRoute}-${this.replyType}`;
|
return `draft-${this.conversationIdByRoute}-${this.replyType}`;
|
||||||
|
|
Loading…
Reference in a new issue