remote-file: filter by extension before sending list
This commit is contained in:
parent
fc4cd105e6
commit
09d41cae5b
2 changed files with 3 additions and 1 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue