hide selecting checkbox for .password

.password is still downloadable via per-file download button, but it is completely excluded from selecting downloading
This commit is contained in:
myl7
2021-11-19 21:37:14 +08:00
parent c4c31e0dda
commit d7dd74772e
+1 -1
View File
@@ -407,7 +407,7 @@ const FileListing: FunctionComponent<{ query?: ParsedUrlQuery }> = ({ query }) =
</div>
)}
<div className="md:flex dark:text-gray-400 hidden p-1 text-gray-700">
{c.folder ? '' : (
{c.folder || c.name === '.password' ? '' : (
<Checkbox
checked={selected[c.id] ? 2 : 0}
onChange={() => toggleItemSelected(c.id)}