remote-file: filter by extension before sending list

This commit is contained in:
jean-emmanuel 2019-04-04 21:11:25 +02:00
parent 9dc11e97ae
commit e6394746e3
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()