From 38d3fbca6dda44269889ca79cc2ce8b3dad4570c Mon Sep 17 00:00:00 2001 From: rakeshkumar1019 Date: Wed, 30 Aug 2023 14:29:53 +0530 Subject: [PATCH] WEBUI-1214: default behavior for new properties related to retention on metadata --- elements/nuxeo-dropzone/nuxeo-dropzone.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elements/nuxeo-dropzone/nuxeo-dropzone.js b/elements/nuxeo-dropzone/nuxeo-dropzone.js index e293baa1f7..11a707c932 100644 --- a/elements/nuxeo-dropzone/nuxeo-dropzone.js +++ b/elements/nuxeo-dropzone/nuxeo-dropzone.js @@ -527,7 +527,7 @@ Polymer({ }, _reset(value) { - if (value && this.uploadedFiles) + if (value && value['upload-batch'] && this.uploadedFiles) this.files = this.uploadedFiles.filter((item) => item.batchId === value['upload-batch']); if ( value == null ||