ok
This commit is contained in:
parent
1ac054482b
commit
c1a68bf262
3 changed files with 14 additions and 15 deletions
|
@ -1555,7 +1555,8 @@ const app = new Vue({
|
||||||
if (kind.includes("album")) {
|
if (kind.includes("album")) {
|
||||||
params["include[albums]"] = "artists"
|
params["include[albums]"] = "artists"
|
||||||
params["fields[artists]"] = "name,url"
|
params["fields[artists]"] = "name,url"
|
||||||
params["fields[albums]"] = "artistName,artistUrl,artwork,contentRating,editorialArtwork,editorialVideo,name,playParams,releaseDate,url,copyright"
|
params["omit[resource]"] = "autos"
|
||||||
|
params["fields[albums]"] = "artistName,artistUrl,artwork,contentRating,editorialArtwork,editorialNotes,editorialVideo,name,playParams,releaseDate,url,copyright"
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.cfg.advanced.experiments.includes('inline-playlists')) {
|
if (this.cfg.advanced.experiments.includes('inline-playlists')) {
|
||||||
|
|
|
@ -49,13 +49,12 @@
|
||||||
<artist-chip v-for="artist in data.relationships.artists.data"
|
<artist-chip v-for="artist in data.relationships.artists.data"
|
||||||
:item="artist"></artist-chip>
|
:item="artist"></artist-chip>
|
||||||
</template>
|
</template>
|
||||||
<div class="playlist-desc"
|
<div class="playlist-desc" v-if="(data.attributes.description && (data.attributes.description.standard || data.attributes.description.short)) || (data.attributes.editorialNotes && (data.attributes.editorialNotes.standard || data.attributes.editorialNotes.short))">
|
||||||
v-if="data.attributes.description && (data.attributes.description.standard || data.attributes.description.short)">
|
<div v-if="(data.attributes.description?.short ?? data.attributes.editorialNotes?.short) != null" class="content"
|
||||||
<div v-if="data.attributes.description.short" class="content"
|
v-html="data.attributes.description?.short ?? data.attributes.editorialNotes?.short"></div>
|
||||||
v-html="data.attributes.description.short"></div>
|
<div v-else-if="(data.attributes.description?.standard ?? data.attributes.editorialNotes?.standard) != null" class="content"
|
||||||
<div v-else-if="data.attributes.description.standard" class="content"
|
v-html="data.attributes.description?.standard ?? data.attributes.editorialNotes?.standard"></div>
|
||||||
v-html="data.attributes.description.standard"></div>
|
<button v-if="(data.attributes.description?.short ?? data.attributes.editorialNotes?.short ) != null" class="more-btn"
|
||||||
<button v-if="data.attributes.description.short" class="more-btn"
|
|
||||||
@click="editorialNotesExpanded = !editorialNotesExpanded">
|
@click="editorialNotesExpanded = !editorialNotesExpanded">
|
||||||
{{app.getLz('term.showMore')}}
|
{{app.getLz('term.showMore')}}
|
||||||
</button>
|
</button>
|
||||||
|
|
|
@ -57,13 +57,12 @@
|
||||||
<artist-chip v-for="artist in data.relationships.artists.data"
|
<artist-chip v-for="artist in data.relationships.artists.data"
|
||||||
:item="artist"></artist-chip>
|
:item="artist"></artist-chip>
|
||||||
</template>
|
</template>
|
||||||
<div class="playlist-desc"
|
<div class="playlist-desc" v-if="(data.attributes.description && (data.attributes.description.standard || data.attributes.description.short)) || (data.attributes.editorialNotes && (data.attributes.editorialNotes.standard || data.attributes.editorialNotes.short))">
|
||||||
v-if="data.attributes.description && (data.attributes.description.standard || data.attributes.description.short)">
|
<div v-if="(data.attributes.description?.short ?? data.attributes.editorialNotes?.short) != null" class="content"
|
||||||
<div v-if="data.attributes.description.short" class="content"
|
v-html="data.attributes.description?.short ?? data.attributes.editorialNotes?.short"></div>
|
||||||
v-html="data.attributes.description.short"></div>
|
<div v-else-if="(data.attributes.description?.standard ?? data.attributes.editorialNotes?.standard) != null" class="content"
|
||||||
<div v-else-if="data.attributes.description.standard" class="content"
|
v-html="data.attributes.description?.standard ?? data.attributes.editorialNotes?.standard"></div>
|
||||||
v-html="data.attributes.description.standard"></div>
|
<button v-if="(data.attributes.description?.short ?? data.attributes.editorialNotes?.short ) != null" class="more-btn"
|
||||||
<button v-if="data.attributes.description.short" class="more-btn"
|
|
||||||
@click="editorialNotesExpanded = !editorialNotesExpanded">
|
@click="editorialNotesExpanded = !editorialNotesExpanded">
|
||||||
{{app.getLz('term.showMore')}}
|
{{app.getLz('term.showMore')}}
|
||||||
</button>
|
</button>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue