mirror of
https://github.com/owntone/owntone-server.git
synced 2025-03-03 23:30:09 -05:00
[web] Fix scrolling problem when dialog is not closed properly
This commit is contained in:
parent
d16373d711
commit
b5c7dfaf59
@ -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 },
|
||||
|
@ -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 },
|
||||
|
Loading…
x
Reference in New Issue
Block a user