Chore: Add additional_attributes to conversation seed
This commit is contained in:
parent
1273ea64d3
commit
ef6c695bcb
2 changed files with 12 additions and 5 deletions
|
@ -108,10 +108,9 @@ export default {
|
|||
return channel;
|
||||
},
|
||||
conversationType() {
|
||||
const {
|
||||
additional_attributes: additionalAttributes = {},
|
||||
} = this.currentChat;
|
||||
return additionalAttributes.type || '';
|
||||
const { additional_attributes: additionalAttributes } = this.currentChat;
|
||||
const type = additionalAttributes ? additionalAttributes.type : '';
|
||||
return type || '';
|
||||
},
|
||||
maxLength() {
|
||||
if (this.channelType === 'Channel::FacebookPage') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue