Fix check for keys in playlist import

This commit is contained in:
Preston 2022-02-06 21:00:52 -05:00
parent 316cee0a89
commit 7651851dbc
1 changed files with 1 additions and 1 deletions

View File

@ -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
}