fix variable typo

This commit is contained in:
Mark Cooper 2021-09-01 19:50:18 -05:00
parent c81a0260e2
commit 5b1269cbe8

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