mirror of
https://github.com/koel/koel
synced 2024-11-28 15:00:42 +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.info.showing = false
|
||||||
this.album = album
|
this.album = album
|
||||||
// #530
|
// #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.info.showing = false
|
||||||
this.artist = artist
|
this.artist = artist
|
||||||
// #530
|
// #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)
|
await playlistStore.fetchSongs(playlist)
|
||||||
playlist.populated = true
|
playlist.populated = true
|
||||||
this.playlist = playlist
|
this.playlist = playlist
|
||||||
this.$nextTick(() => this.$refs.songList.sort())
|
this.$nextTick(() => this.$refs.songList && this.$refs.songList.sort())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue