Fix check for keys in playlist import
This commit is contained in:
parent
316cee0a89
commit
7651851dbc
|
@ -1144,7 +1144,7 @@ export default Vue.extend({
|
|||
const videoArray = []
|
||||
playlistData.videos.forEach((video) => {
|
||||
let hasAllKeys = true
|
||||
Object.keys(video).forEach((videoKey) => {
|
||||
requiredVideoKeys.forEach((videoKey) => {
|
||||
if (!Object.keys(video).includes(videoKey)) {
|
||||
hasAllKeys = false
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue