mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
fix: download current dir on file listing
This commit is contained in:
parent
7955e0720b
commit
488d98045e
@ -588,8 +588,12 @@ export default {
|
|||||||
|
|
||||||
let files = []
|
let files = []
|
||||||
|
|
||||||
for (let i of this.selected) {
|
if (this.selectedCount > 0) {
|
||||||
files.push(this.req.items[i].url)
|
for (let i of this.selected) {
|
||||||
|
files.push(this.req.items[i].url)
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
files.push(this.$route.path)
|
||||||
}
|
}
|
||||||
|
|
||||||
api.download(format, ...files)
|
api.download(format, ...files)
|
||||||
|
Loading…
Reference in New Issue
Block a user