From 34a3fec044d8e18bfdd5533ef3e30f685822811e Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Wed, 19 Jul 2017 08:30:08 +0100 Subject: [PATCH] Fix download single folder --- assets/src/components/buttons/Download.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/src/components/buttons/Download.vue b/assets/src/components/buttons/Download.vue index b356f97e..d2bf4a0c 100644 --- a/assets/src/components/buttons/Download.vue +++ b/assets/src/components/buttons/Download.vue @@ -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 }