hide dotfile tweak (#102)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Graham Steffaniak <graham.steffaniak@autodesk.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
Graham Steffaniak 2023-12-21 15:25:37 -06:00 committed by GitHub
parent 7aa3230649
commit 0281aee56f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -260,6 +260,9 @@ export default {
const files = []; const files = [];
this.req.items.forEach((item) => { this.req.items.forEach((item) => {
if (this.user.hideDotfiles && item.name.startsWith(".")) {
return;
}
if (item.isDir) { if (item.isDir) {
dirs.push(item); dirs.push(item);
} else { } else {