mirror of
https://github.com/kaythomas0/noisedash.git
synced 2025-11-16 13:08:04 +00:00
Stop playback when leaving home page
This commit is contained in:
@@ -80,6 +80,9 @@ export default {
|
|||||||
this.getSamples()
|
this.getSamples()
|
||||||
this.getCurrentUser()
|
this.getCurrentUser()
|
||||||
},
|
},
|
||||||
|
beforeDestroy () {
|
||||||
|
this.stop()
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
play () {
|
play () {
|
||||||
this.playDisabled = true
|
this.playDisabled = true
|
||||||
|
|||||||
Reference in New Issue
Block a user