mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-27 05:19:18 -05:00
[web] Fix non-closing album modal dialog
When clicking on the artist name in the album modal dialog, the dialog was not close.
This commit is contained in:
parent
8e4a3fe16a
commit
025a1c73a8
@ -160,6 +160,7 @@ export default {
|
||||
},
|
||||
|
||||
open_album: function () {
|
||||
this.$emit('close')
|
||||
if (this.media_kind_resolved === 'podcast') {
|
||||
this.$router.push({ path: '/podcasts/' + this.album.id })
|
||||
} else if (this.media_kind_resolved === 'audiobook') {
|
||||
@ -170,9 +171,8 @@ export default {
|
||||
},
|
||||
|
||||
open_artist: function () {
|
||||
if (this.media_kind_resolved === 'podcast') {
|
||||
// No artist page for podcasts
|
||||
} else if (this.media_kind_resolved === 'audiobook') {
|
||||
this.$emit('close')
|
||||
if (this.media_kind_resolved === 'audiobook') {
|
||||
this.$router.push({
|
||||
path: '/audiobooks/artists/' + this.album.artist_id
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user