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 = []
|
const videoArray = []
|
||||||
playlistData.videos.forEach((video) => {
|
playlistData.videos.forEach((video) => {
|
||||||
let hasAllKeys = true
|
let hasAllKeys = true
|
||||||
Object.keys(video).forEach((videoKey) => {
|
requiredVideoKeys.forEach((videoKey) => {
|
||||||
if (!Object.keys(video).includes(videoKey)) {
|
if (!Object.keys(video).includes(videoKey)) {
|
||||||
hasAllKeys = false
|
hasAllKeys = false
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue