Skip to content

Commit 9ddd58c

Browse files
committed
update review
1 parent 25dfce3 commit 9ddd58c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,9 @@ export class Config {
248248
}
249249
}
250250
static validateFileUploadOptions(fileUpload) {
251+
if (!fileUpload) {
252+
fileUpload = {};
253+
}
251254
if (
252255
fileUpload.enableForAnonymousUser &&
253256
typeof fileUpload.enableForAnonymousUser !== 'boolean'

0 commit comments

Comments
 (0)