diff --git a/elements/nuxeo-document-attachments/nuxeo-document-attachments.js b/elements/nuxeo-document-attachments/nuxeo-document-attachments.js index 8bedfd2bf0..1695f54735 100644 --- a/elements/nuxeo-document-attachments/nuxeo-document-attachments.js +++ b/elements/nuxeo-document-attachments/nuxeo-document-attachments.js @@ -166,7 +166,6 @@ Polymer({ }, _getFileValue() { - const fileName = this.document.type === 'File' && this.xpath === 'files:files' ? 'file' : ''; - return fileName; + return this.xpath === 'files:files' ? 'file' : ''; }, }); diff --git a/elements/nuxeo-dropzone/nuxeo-dropzone.js b/elements/nuxeo-dropzone/nuxeo-dropzone.js index 69274a4807..426dc5ca7e 100644 --- a/elements/nuxeo-dropzone/nuxeo-dropzone.js +++ b/elements/nuxeo-dropzone/nuxeo-dropzone.js @@ -220,7 +220,7 @@ Polymer({ -
+