fix variable typo

This commit is contained in:
advplyr 2021-09-01 19:50:18 -05:00
parent 3c854ca32b
commit 6a2d7af720

View File

@ -111,7 +111,7 @@ export default {
}
},
streamClosed(streamId) {
if (this.stream && (this.stream.id === streamId || this.stream === 'n/a')) {
if (this.stream && (this.stream.id === streamId || streamId === 'n/a')) {
this.terminateStream()
this.$store.commit('clearStreamAudiobook', this.stream.audiobook.id)
this.stream = null