refactor: better variable name
This commit is contained in:
@@ -189,7 +189,7 @@ export default {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
inboxSupportsReply: {
|
||||
inboxSupportsReplyTo: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
@@ -275,7 +275,7 @@ export default {
|
||||
delete: this.hasText || this.hasAttachments,
|
||||
cannedResponse: this.isOutgoing && this.hasText,
|
||||
replyTo: false,
|
||||
// replyTo: !this.data.private && this.inboxSupportsReply,
|
||||
// replyTo: !this.data.private && this.inboxSupportsReplyTo,
|
||||
};
|
||||
},
|
||||
contentAttributes() {
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
:is-a-whatsapp-channel="isAWhatsAppChannel"
|
||||
:has-instagram-story="hasInstagramStory"
|
||||
:is-web-widget-inbox="isAWebWidgetInbox"
|
||||
:inbox-supports-reply="inboxSupportsReply"
|
||||
:inbox-supports-reply-to="inboxSupportsReplyTo"
|
||||
/>
|
||||
<li v-show="unreadMessageCount != 0" class="unread--toast">
|
||||
<span>
|
||||
@@ -317,7 +317,7 @@ export default {
|
||||
unreadMessageCount() {
|
||||
return this.currentChat.unread_count || 0;
|
||||
},
|
||||
inboxSupportsReply() {
|
||||
inboxSupportsReplyTo() {
|
||||
return this.inboxHasFeature(INBOX_FEATURES.REPLY_TO);
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user