Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix typo in condition
Signed-off-by: Frederic Ruget <[email protected]>
  • Loading branch information
douzebis authored and CarlSchwan committed Sep 1, 2022
commit d6ef4d4660e41640ba5f4aaf86c0a1e967e0a89f
2 changes: 1 addition & 1 deletion src/components/Videos.vue
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ export default {
const basename = folder[i].basename
const index = basename.indexOf(videoRoot)
// Consider only file... or .file...
if (!(index === 0 || (index === 1 || basename[0] === '.'))) {
if (!(index === 0 || (index === 1 && basename[0] === '.'))) {
continue
}
const suffix = basename.slice(videoRoot.length + index)
Expand Down