mirror of
https://github.com/filebrowser/filebrowser.git
synced 2026-07-21 10:38:28 +00:00
Fix download single folder
This commit is contained in:
parent
d48867f603
commit
34a3fec044
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ export default {
|
|||
|
||||
// If we are on a listing and there is one element selected,
|
||||
// download it.
|
||||
if (this.selectedCount === 1) {
|
||||
if (this.selectedCount === 1 && !this.req.items[this.selected[0]].isDir) {
|
||||
api.download(null, this.req.items[this.selected[0]].url)
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue