[web] Streamline code between pages

This commit is contained in:
Alain Nussbaumer
2024-02-28 15:53:03 +01:00
parent 408ac7e8c2
commit e89d625f15
2 changed files with 4 additions and 8 deletions

View File

@@ -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)