Skip to content
Closed
Show file tree
Hide file tree
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 beardhatcode committed May 25, 2021
commit 088b67876b119f96b0a359f7fc3cca934b1ff309
4 changes: 2 additions & 2 deletions js/viewer-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/viewer-main.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/components/Videos.vue
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,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