Fix download single folder
Former-commit-id: 6a33652b05f7ce5561253888997a2e48d3375730 [formerly cc08258ac6555353e6a5354b980370de6bd6f72c] [formerly a33e4246bca6444b99aed5cc1d7d4168613b3cf6 [formerly 34a3fec044
]]
Former-commit-id: 71b1d7e3f84da16d32ab69efaa103bb6f811b3eb [formerly 7d7db781a856cee5942f9c67240fc25416cb4a35]
Former-commit-id: 2abca1999fa05fcc1449b993e02ae1ed76a4ff73
This commit is contained in:
parent
4487f8c42e
commit
0a29515e3a
|
@ -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…
Reference in New Issue