decaporg / decaporg/decap-cms

Ignore dotfiles in media view

Open
#2,370 1 comment 0 reactions 0 assignees View on GitHub
area: media-library kind: feature pinned
Dominant language
JavaScript
Stars
19.4k
Forks
3.1k
Avg merge
1d 14h
Merged PRs (30d)
9

Description

**Describe the bug**
The media view shouldn't display dotfiles.

**To Reproduce**
1. Add a dotfile to the configured `media_folder`
2. The dotfile shows up in the media view.

**Expected behavior**
Dotfiles should be ignored.

**Screenshots**
https://take.ms/28TGh

**Applicable Versions:**
- Netlify CMS version: 2.9.1
- Git provider: GitHub
- OS: macOS 10.14.5
- Browser version Chrome 74

**CMS configuration**
https://github.com/uplinkhq/website/blob/master/source/admin/config.yml

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.