diff --git a/src/components/Authorise.vue b/src/components/Authorise.vue index 3b9428d7..1399efeb 100644 --- a/src/components/Authorise.vue +++ b/src/components/Authorise.vue @@ -1,10 +1,9 @@ @@ -39,7 +38,6 @@ export default { data() { return {} }, - computed: {}, mounted() { @@ -62,6 +60,8 @@ export default { * Spotify to grant app consent, user will * be redirected back to the app. */ + + initAuthorise() { this.setAuthUrl() window.location.href = `${this.endpoints.auth}?${searchParams.toString()}` @@ -204,7 +204,7 @@ export default { return `${this.endpoints.auth}?${searchParams.toString()}` } }, - + watch: { /** * Watch authorisation code. diff --git a/src/components/NowPlaying.vue b/src/components/NowPlaying.vue index feb925da..61a94cbd 100644 --- a/src/components/NowPlaying.vue +++ b/src/components/NowPlaying.vue @@ -15,15 +15,19 @@