diff --git a/resources/assets/js/components/main-wrapper/extra/album-info.vue b/resources/assets/js/components/main-wrapper/extra/album-info.vue index 3f1e27a5..1a68d07e 100644 --- a/resources/assets/js/components/main-wrapper/extra/album-info.vue +++ b/resources/assets/js/components/main-wrapper/extra/album-info.vue @@ -51,14 +51,13 @@ export default { }; }, - methods: { - /** - * Reset the component's current state. - */ - resetState() { + watch: { + album() { this.showingFullWiki = false; }, + }, + methods: { /** * Shuffle all songs in the current album. */ diff --git a/resources/assets/js/components/main-wrapper/extra/artist-info.vue b/resources/assets/js/components/main-wrapper/extra/artist-info.vue index b0bbd661..94c6d480 100644 --- a/resources/assets/js/components/main-wrapper/extra/artist-info.vue +++ b/resources/assets/js/components/main-wrapper/extra/artist-info.vue @@ -41,14 +41,13 @@ export default { }; }, - methods: { - /** - * Reset the component's current state. - */ - resetState() { + watch: { + artist() { this.showingFullBio = false; }, + }, + methods: { /** * Shuffle all songs performed by the current song's artist. */ diff --git a/resources/assets/js/components/main-wrapper/extra/index.vue b/resources/assets/js/components/main-wrapper/extra/index.vue index 4e9ee997..b336a666 100644 --- a/resources/assets/js/components/main-wrapper/extra/index.vue +++ b/resources/assets/js/components/main-wrapper/extra/index.vue @@ -99,7 +99,6 @@ export default { resetState() { this.currentView = 'lyrics'; this.song = songStore.stub; - invokeMap(this.$refs, 'resetState'); }, }, diff --git a/resources/assets/js/components/main-wrapper/extra/lyrics.vue b/resources/assets/js/components/main-wrapper/extra/lyrics.vue index cc461b62..460fd29f 100644 --- a/resources/assets/js/components/main-wrapper/extra/lyrics.vue +++ b/resources/assets/js/components/main-wrapper/extra/lyrics.vue @@ -10,10 +10,6 @@