From 97187d2c55ffb3660ffb37d87f03914afc6d940d Mon Sep 17 00:00:00 2001 From: Chris Kankiewicz Date: Mon, 6 Apr 2020 15:07:56 -0700 Subject: [PATCH] Don't show zip download link for empty directories --- app/views/components/header.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/components/header.twig b/app/views/components/header.twig index d04409c..05cba1b 100644 --- a/app/views/components/header.twig +++ b/app/views/components/header.twig @@ -13,7 +13,7 @@
- {% if path and config('zip_downloads', true) %} + {% if path and files is not empty and config('zip_downloads') %}