[web] Fix scrolling problem when dialog is not closed properly

This commit is contained in:
Alain Nussbaumer 2025-02-16 20:06:40 +01:00
parent d16373d711
commit b5c7dfaf59
2 changed files with 6 additions and 0 deletions

View File

@ -106,6 +106,7 @@ export default {
},
methods: {
open_album() {
this.$emit('close')
if (this.item.data_kind === 'spotify') {
this.$router.push({
name: 'music-spotify-album',
@ -129,6 +130,7 @@ export default {
}
},
open_album_artist() {
this.$emit('close')
if (this.item.data_kind === 'spotify') {
this.$router.push({
name: 'music-spotify-artist',
@ -150,6 +152,7 @@ export default {
}
},
open_genre() {
this.$emit('close')
this.$router.push({
name: 'genre-albums',
params: { name: this.item.genre },

View File

@ -131,6 +131,7 @@ export default {
})
},
open_album() {
this.$emit('close')
if (
this.item.data_kind === 'spotify' &&
this.item.media_kind !== 'podcast'
@ -157,6 +158,7 @@ export default {
}
},
open_artist() {
this.$emit('close')
if (this.item.data_kind === 'spotify') {
this.$router.push({
name: 'music-spotify-artist',
@ -178,6 +180,7 @@ export default {
}
},
open_genre() {
this.$emit('close')
this.$router.push({
name: 'genre-albums',
params: { name: this.item.genre },