mirror of
https://github.com/owntone/owntone-server.git
synced 2025-03-03 23:30:09 -05:00
[web] Remove unused events
This commit is contained in:
parent
ea7efdd869
commit
b9b36855f4
@ -9,8 +9,6 @@
|
|||||||
:artist="item.artist"
|
:artist="item.artist"
|
||||||
:album="item.name"
|
:album="item.name"
|
||||||
class="is-normal mb-3"
|
class="is-normal mb-3"
|
||||||
@load="artwork_loaded"
|
|
||||||
@error="artwork_error"
|
|
||||||
/>
|
/>
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<div
|
<div
|
||||||
@ -48,18 +46,7 @@ export default {
|
|||||||
components: { ModalDialogPlayable, CoverArtwork },
|
components: { ModalDialogPlayable, CoverArtwork },
|
||||||
props: { item: { required: true, type: Object }, show: Boolean },
|
props: { item: { required: true, type: Object }, show: Boolean },
|
||||||
emits: ['close'],
|
emits: ['close'],
|
||||||
data() {
|
|
||||||
return {
|
|
||||||
artwork_visible: false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
methods: {
|
methods: {
|
||||||
artwork_error() {
|
|
||||||
this.artwork_visible = false
|
|
||||||
},
|
|
||||||
artwork_loaded() {
|
|
||||||
this.artwork_visible = true
|
|
||||||
},
|
|
||||||
artwork_url(item) {
|
artwork_url(item) {
|
||||||
return item.images?.[0]?.url || ''
|
return item.images?.[0]?.url || ''
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user