This commit is contained in:
Mirco Wittrien 2020-01-16 17:01:11 +01:00
parent 07bae2d569
commit 5c50d598f2
2 changed files with 2 additions and 2 deletions

View File

@ -7156,7 +7156,7 @@
BDFDB.LanguageUtils.LibraryStrings.file_navigator_text,
BDFDB.ReactUtils.createElement("input", {
type: "file",
accept: this.props.filter && [this.props.filter].flat(10).join("/* ") + "/*",
accept: this.props.filter && [this.props.filter].flat(10).filter(n => typeof n == "string").join("/*,") + "/*",
style: {display: "none"},
onChange: e => {
let file = e.currentTarget.files[0];

File diff suppressed because one or more lines are too long