feat: disable upload after one message
This commit is contained in:
@@ -109,6 +109,7 @@
|
||||
<reply-bottom-panel
|
||||
:conversation-id="conversationId"
|
||||
:enable-multiple-file-upload="enableMultipleFileUpload"
|
||||
:disable-file-upload="disableFileUpload"
|
||||
:has-whatsapp-templates="hasWhatsappTemplates"
|
||||
:inbox="inbox"
|
||||
:is-on-private-note="isOnPrivateNote"
|
||||
@@ -465,6 +466,13 @@ export default {
|
||||
showReplyHead() {
|
||||
return !this.isOnPrivateNote && this.isAnEmailChannel;
|
||||
},
|
||||
disableFileUpload() {
|
||||
if (this.isAFacebookInbox) {
|
||||
return this.hasAttachments > 0;
|
||||
}
|
||||
|
||||
return false;
|
||||
},
|
||||
enableMultipleFileUpload() {
|
||||
return (
|
||||
this.isAnEmailChannel ||
|
||||
|
||||
Reference in New Issue
Block a user