diff --git a/src/components/Composer.vue b/src/components/Composer.vue index 846c9ece14..3656328a55 100644 --- a/src/components/Composer.vue +++ b/src/components/Composer.vue @@ -350,14 +350,6 @@ t('mail', 'Add attachment from Files') }} - - - {{ - t('mail', 'Add share link from Files') - }} - - @@ -120,18 +113,14 @@ export default { isToggle: false, hasNextLine: false, isAttachmentPickerOpen: false, - isLinkPickerOpen: false, attachmentPickerButtons: [ { - label: t('mail', 'Choose'), + label: t('mail', 'Add as attachment'), callback: this.onAddCloudAttachment, type: 'primary', }, - ], - - linkPickerButtons: [ { - label: t('mail', 'Choose'), + label: t('mail', 'Add as share link'), callback: this.onAddCloudAttachmentLink, type: 'primary', }, @@ -193,7 +182,6 @@ export default { created() { this.bus.on('on-add-local-attachment', this.onAddLocalAttachment) this.bus.on('on-add-cloud-attachment', this.openAttachementPicker) - this.bus.on('on-add-cloud-attachment-link', this.OpenLinkPicker) this.bus.on('on-add-message-as-attachment', this.onAddMessageAsAttachment) this.value.map((attachment) => { this.attachments.push({ @@ -221,10 +209,6 @@ export default { this.isAttachmentPickerOpen = true }, - OpenLinkPicker() { - this.isLinkPickerOpen = true - }, - onAddLocalAttachment() { this.$refs.localAttachments.click() },