Adding filePaths to the web file picker response (#2739)
`filePaths` is now used to decide which `subscription.db` type to parse, so this is needed here
This commit is contained in:
parent
c26445a09d
commit
a6b86fac9c
|
@ -286,7 +286,7 @@ const actions = {
|
|||
}
|
||||
fileInput.onchange = () => {
|
||||
const files = Array.from(fileInput.files)
|
||||
resolve({ canceled: false, files })
|
||||
resolve({ canceled: false, files, filePaths: files.map(({ name }) => { return name }) })
|
||||
delete fileInput.onchange
|
||||
}
|
||||
const listenForEnd = () => {
|
||||
|
|
Loading…
Reference in New Issue