mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-07 04:42:58 -05:00
[web] Streamline code between pages
This commit is contained in:
@@ -103,13 +103,11 @@ export default {
|
||||
}
|
||||
},
|
||||
|
||||
computed: {
|
||||
methods: {
|
||||
artwork_url(album) {
|
||||
return album.images?.[0]?.url || ''
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
methods: {
|
||||
play() {
|
||||
this.$emit('close')
|
||||
webapi.player_play_uri(this.album.uri, false)
|
||||
|
||||
Reference in New Issue
Block a user