feat: add feature flag map for inbox specific features

This commit is contained in:
Shivam Mishra
2023-10-04 12:12:15 +05:30
parent b3141de50b
commit 0af9e974bd
3 changed files with 33 additions and 1 deletions
@@ -124,6 +124,7 @@
:message="data"
@open="openContextMenu"
@close="closeContextMenu"
@reply-to="handleReplyTo"
/>
</div>
</li>
@@ -188,6 +189,10 @@ export default {
type: Boolean,
default: false,
},
inboxSupportsReply: {
type: Boolean,
default: false,
},
},
data() {
return {
@@ -269,6 +274,8 @@ export default {
copy: this.hasText,
delete: this.hasText || this.hasAttachments,
cannedResponse: this.isOutgoing && this.hasText,
replyTo:
this.isIncoming && !this.data.private && this.inboxSupportsReply,
};
},
contentAttributes() {