Skip to content

Commit

Permalink
Make tests pass simply
Browse files Browse the repository at this point in the history
  • Loading branch information
phanan committed Jan 21, 2018
1 parent aa19a16 commit 2138601
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Expand Up @@ -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())
}
})
},
Expand Down
Expand Up @@ -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())
}
})
},
Expand Down
Expand Up @@ -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())
}
}
}
Expand Down

0 comments on commit 2138601

Please sign in to comment.