fixes
This commit is contained in:
parent
07bae2d569
commit
5c50d598f2
|
@ -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
Loading…
Reference in New Issue