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: {
|
methods: {
|
||||||
open_album() {
|
open_album() {
|
||||||
|
this.$emit('close')
|
||||||
if (this.item.data_kind === 'spotify') {
|
if (this.item.data_kind === 'spotify') {
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: 'music-spotify-album',
|
name: 'music-spotify-album',
|
||||||
@ -129,6 +130,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
open_album_artist() {
|
open_album_artist() {
|
||||||
|
this.$emit('close')
|
||||||
if (this.item.data_kind === 'spotify') {
|
if (this.item.data_kind === 'spotify') {
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: 'music-spotify-artist',
|
name: 'music-spotify-artist',
|
||||||
@ -150,6 +152,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
open_genre() {
|
open_genre() {
|
||||||
|
this.$emit('close')
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: 'genre-albums',
|
name: 'genre-albums',
|
||||||
params: { name: this.item.genre },
|
params: { name: this.item.genre },
|
||||||
|
@ -131,6 +131,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
open_album() {
|
open_album() {
|
||||||
|
this.$emit('close')
|
||||||
if (
|
if (
|
||||||
this.item.data_kind === 'spotify' &&
|
this.item.data_kind === 'spotify' &&
|
||||||
this.item.media_kind !== 'podcast'
|
this.item.media_kind !== 'podcast'
|
||||||
@ -157,6 +158,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
open_artist() {
|
open_artist() {
|
||||||
|
this.$emit('close')
|
||||||
if (this.item.data_kind === 'spotify') {
|
if (this.item.data_kind === 'spotify') {
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: 'music-spotify-artist',
|
name: 'music-spotify-artist',
|
||||||
@ -178,6 +180,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
open_genre() {
|
open_genre() {
|
||||||
|
this.$emit('close')
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: 'genre-albums',
|
name: 'genre-albums',
|
||||||
params: { name: this.item.genre },
|
params: { name: this.item.genre },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user