From 654b7f1c832d07bf1d1ff9f8bcba72431f0d7860 Mon Sep 17 00:00:00 2001 From: rakeshkumar1019 Date: Wed, 30 Aug 2023 14:32:30 +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 ||