diff --git a/src/renderer/store/modules/utils.js b/src/renderer/store/modules/utils.js index 6e82d38f..ede293a1 100644 --- a/src/renderer/store/modules/utils.js +++ b/src/renderer/store/modules/utils.js @@ -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 = () => {