Skip to content

Commit

Permalink
fix(upload-list): do not close modal automatically if `--cfg-confirm-…
Browse files Browse the repository at this point in the history
…upload` enabled
  • Loading branch information
nd0ut committed Sep 19, 2022
1 parent d04ec9d commit 68f3e93
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions blocks/UploadList/UploadList.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,6 @@ export class UploadList extends UploaderBlock {
addMoreBtnDisabled: tooMany || exact,
addMoreBtnHidden: exact && !this.getCssData('--cfg-multiple'),
});

if (filesCount > 0 && !this.getCssData('--cfg-confirm-upload') && fitCountRestrictions && allUploaded) {
this.$.onDone();
}
}

initCallback() {
Expand Down

0 comments on commit 68f3e93

Please sign in to comment.