refactor: better variable name

This commit is contained in:
Shivam Mishra
2023-10-04 15:54:48 +05:30
parent b952608eeb
commit 3c6c57ca0e
2 changed files with 4 additions and 4 deletions
@@ -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);
},
},