file: honor server's remote-root option (remove root path from displayed path and returned value)
This commit is contained in:
parent
9ef97ca1c3
commit
4dbc572ea1
4 changed files with 17 additions and 7 deletions
|
|
@ -567,7 +567,8 @@ export default class Callbacks {
|
|||
list = list.filter(x=>x.folder || x.name.match(extRe))
|
||||
this.ipcServer.send('listDir', {
|
||||
path: p,
|
||||
files: list
|
||||
files: list,
|
||||
root: root
|
||||
}, clientId)
|
||||
settings.write('last-dir', p, false, false)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue