From d7dd74772efda589db1ae9c27f414a27f77032e5 Mon Sep 17 00:00:00 2001 From: myl7 Date: Fri, 19 Nov 2021 21:37:14 +0800 Subject: [PATCH] hide selecting checkbox for .password .password is still downloadable via per-file download button, but it is completely excluded from selecting downloading --- components/FileListing.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/FileListing.tsx b/components/FileListing.tsx index a31a41b..82bc7a8 100644 --- a/components/FileListing.tsx +++ b/components/FileListing.tsx @@ -407,7 +407,7 @@ const FileListing: FunctionComponent<{ query?: ParsedUrlQuery }> = ({ query }) = )}
- {c.folder ? '' : ( + {c.folder || c.name === '.password' ? '' : ( toggleItemSelected(c.id)}