[IMP] mail: remove useless 't-ref="dropzone"'

Task-2694206

Part-of: odoo/odoo#81801
This commit is contained in:
Alexandre Kühn
2021-12-23 18:26:19 +00:00
parent 3784a90fd5
commit 79d6f1db60
3 changed files with 0 additions and 4 deletions
@@ -4,8 +4,6 @@ const { useState, onMounted, onWillUnmount } = owl.hooks;
/**
* This hook handle the visibility of the dropzone based on drag & drop events.
* It needs a ref to a dropzone, so you need to specify a t-ref="dropzone" in
* the template of your component.
*
* @returns {Object}
*/
@@ -16,7 +16,6 @@
<DropZone
className="'o_AttachmentBox_dropZone'"
onDropzoneFilesDropped="_onDropZoneFilesDropped"
t-ref="dropzone"
/>
</t>
<t t-if="attachmentBoxView.chatter.attachmentList">
@@ -21,7 +21,6 @@
<DropZone
className="'o_Composer_dropZone'"
onDropzoneFilesDropped="_onDropZoneFilesDropped"
t-ref="dropzone"
/>
</t>
<FileUploader localId="composerView.fileUploaderView.localId"/>