remote-file: filter by extension before sending list

This commit is contained in:
jean-emmanuel 2019-04-04 21:11:25 +02:00
parent fc4cd105e6
commit 09d41cae5b
2 changed files with 3 additions and 1 deletions

View file

@ -324,7 +324,7 @@ module.exports = {
browser.appendChild(actions)
container.appendChild(browser)
ipc.send('listDir', {path: options.directory ? [options.directory] : null})
ipc.send('listDir', {extension: options.extension, path: options.directory ? [options.directory] : null})
popup.open()