bpm-core 0.0.138 → 0.0.139
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/fesm2022/bpm-core.mjs
CHANGED
|
@@ -4406,6 +4406,9 @@ class DocsUploaderComponent extends ControlValueAccessorDirective {
|
|
|
4406
4406
|
this.displayedFiles.splice(index, 1);
|
|
4407
4407
|
this.allAttachments.splice(index, 1);
|
|
4408
4408
|
this.lengthError = this.displayedFiles?.length >= +this.maxLength;
|
|
4409
|
+
if (this.displayedFiles?.length == 0) {
|
|
4410
|
+
this.reset();
|
|
4411
|
+
}
|
|
4409
4412
|
}
|
|
4410
4413
|
downloadFileNew(fileData) {
|
|
4411
4414
|
const fileType = this.getFileType(fileData);
|