This commit is contained in:
Mirco Wittrien 2020-01-16 16:54:41 +01:00
parent 17dca0d080
commit 07bae2d569
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}/*`,
accept: this.props.filter && [this.props.filter].flat(10).join("/* ") + "/*",
style: {display: "none"},
onChange: e => {
let file = e.currentTarget.files[0];

File diff suppressed because one or more lines are too long