mirror of
https://github.com/koel/koel
synced 2024-11-24 21:23:06 +00:00
Make tests pass simply
This commit is contained in:
parent
aa19a16bcd
commit
21386010fb
3 changed files with 3 additions and 3 deletions
|
@ -108,7 +108,7 @@ export default {
|
|||
this.info.showing = false
|
||||
this.album = album
|
||||
// #530
|
||||
this.$nextTick(() => this.$refs.songList.sort())
|
||||
this.$nextTick(() => this.$refs.songList && this.$refs.songList.sort())
|
||||
}
|
||||
})
|
||||
},
|
||||
|
|
|
@ -102,7 +102,7 @@ export default {
|
|||
this.info.showing = false
|
||||
this.artist = artist
|
||||
// #530
|
||||
this.$nextTick(() => this.$refs.songList.sort())
|
||||
this.$nextTick(() => this.$refs.songList && this.$refs.songList.sort())
|
||||
}
|
||||
})
|
||||
},
|
||||
|
|
|
@ -137,7 +137,7 @@ export default {
|
|||
await playlistStore.fetchSongs(playlist)
|
||||
playlist.populated = true
|
||||
this.playlist = playlist
|
||||
this.$nextTick(() => this.$refs.songList.sort())
|
||||
this.$nextTick(() => this.$refs.songList && this.$refs.songList.sort())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue