From 0281aee56f895d7c8b145eaafdfe7e0b92ecd223 Mon Sep 17 00:00:00 2001 From: Graham Steffaniak <42989099+gtsteffaniak@users.noreply.github.com> Date: Thu, 21 Dec 2023 15:25:37 -0600 Subject: [PATCH] hide dotfile tweak (#102) Signed-off-by: dependabot[bot] Co-authored-by: Graham Steffaniak Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- frontend/src/views/files/Listing.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/src/views/files/Listing.vue b/frontend/src/views/files/Listing.vue index f9c7b984..0cbf72bd 100644 --- a/frontend/src/views/files/Listing.vue +++ b/frontend/src/views/files/Listing.vue @@ -260,6 +260,9 @@ export default { const files = []; this.req.items.forEach((item) => { + if (this.user.hideDotfiles && item.name.startsWith(".")) { + return; + } if (item.isDir) { dirs.push(item); } else {