Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
AURA
dashboard
Commits
68061d17
Commit
68061d17
authored
Oct 01, 2020
by
Richard Blechinger
Browse files
Add check for item entries when calculating unspecified durations
parent
d745dbe0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/components/filemanager/Playlists.vue
View file @
68061d17
...
@@ -207,6 +207,10 @@ export default {
...
@@ -207,6 +207,10 @@ export default {
},
},
unknownDurationCount
({
item
})
{
unknownDurationCount
({
item
})
{
if
(
!
item
.
entries
)
{
return
0
}
return
item
.
entries
.
filter
(
entry
=>
!
entry
.
duration
).
length
;
return
item
.
entries
.
filter
(
entry
=>
!
entry
.
duration
).
length
;
}
}
},
},
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment