Skip to content

Commit

Permalink
Merge pull request #284 from nfdi4plants/fix-swate-filepicker-interop
Browse files Browse the repository at this point in the history
Fix ipc call name 🐛
  • Loading branch information
JonasLukasczyk authored Oct 9, 2024
2 parents 57fa8e2 + e7aeb7a commit dd52c3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/renderer/src/views/SwateView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const SwateAPI: SwateAPI = {
let options: Electron.OpenDialogOptions = {}
options.defaultPath = ArcControlService.props.arc_root!;
if (selectDirectories) {
selection = await window.ipc.invoke("LocalFileSystemService.selectAnyFolders")
selection = await window.ipc.invoke("LocalFileSystemService.selectAnyDirectories")
} else {
selection = await window.ipc.invoke("LocalFileSystemService.selectAnyFiles")
}
Expand Down

0 comments on commit dd52c3a

Please sign in to comment.