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:
parent
7aa3230649
commit
0281aee56f
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue