FIX: Regression with onFilesPicked action (#25819)

This commit is contained in:
Keegan George 2024-02-22 12:03:05 -08:00 committed by GitHub
parent 35adf6046e
commit 10c83a80aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -91,6 +91,10 @@ export default Component.extend({
this.dialog.alert(message); this.dialog.alert(message);
return; return;
} }
if (typeof this.onFilesPicked === "function") {
this.onFilesPicked(files);
}
}, },
_haveAcceptedTypes(files) { _haveAcceptedTypes(files) {