mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 11:49:15 +02:00
See #1100: clean compat and XXX in the code
This commit is contained in:
parent
b7f1c02c6f
commit
e271851f67
67 changed files with 203 additions and 328 deletions
|
@ -4,7 +4,7 @@
|
|||
<section class="ui vertical stripe segment">
|
||||
<div class="ui stackable grid row container">
|
||||
<div class="six wide column">
|
||||
<img class="image" alt="" v-if="cover && cover.original" v-lazy="$store.getters['instance/absoluteUrl'](cover.square_crop)">
|
||||
<img alt="" class="image" v-if="cover && cover.urls.original" v-lazy="$store.getters['instance/absoluteUrl'](cover.urls.square_crop)">
|
||||
<template v-if="upload">
|
||||
<h3 class="ui header">
|
||||
<translate key="1" v-if="track.artist.content_category === 'music'" translate-context="Content/*/*">Track Details</translate>
|
||||
|
@ -223,7 +223,7 @@ export default {
|
|||
return this.licenseData
|
||||
},
|
||||
cover () {
|
||||
if (this.track.cover && this.track.cover.original) {
|
||||
if (this.track.cover && this.track.cover.urls.original) {
|
||||
return this.track.cover
|
||||
}
|
||||
if (this.track.album && this.track.album.cover) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue