some multiroom fixes
This commit is contained in:
parent
12e590df08
commit
541e037672
3 changed files with 4 additions and 2 deletions
|
@ -143,7 +143,7 @@
|
||||||
return color
|
return color
|
||||||
},
|
},
|
||||||
async checkLibrary() {
|
async checkLibrary() {
|
||||||
if (this.item.id.startsWith('ciderlocal')){
|
if ((this.item?.id ?? '').toString().startsWith('ciderlocal')){
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
if (this.addedToLibrary) { return this.addedToLibrary }
|
if (this.addedToLibrary) { return this.addedToLibrary }
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
<h2 class="header-desc" v-html='data.relationships?.children?.data[0]?.attributes?.description ?? ""'></h2>
|
<h2 class="header-desc" v-html='data.relationships?.children?.data[0]?.attributes?.description ?? ""'></h2>
|
||||||
<template v-if="data.relationships">
|
<template v-if="data.relationships">
|
||||||
<template v-for="(recom,index) in data.relationships.children.data">
|
<template v-for="(recom,index) in data.relationships.children.data">
|
||||||
|
<template v-if="(recom.relationships?.contents?.data ?? []).length > 0">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col" v-if="recom.attributes.name != 'Chart Set'">
|
<div class="col" v-if="recom.attributes.name != 'Chart Set'">
|
||||||
<h3>{{ recom.attributes?.title ?? ""}}</h3>
|
<h3>{{ recom.attributes?.title ?? ""}}</h3>
|
||||||
|
@ -31,6 +32,7 @@
|
||||||
</template>
|
</template>
|
||||||
</template>
|
</template>
|
||||||
</template>
|
</template>
|
||||||
|
</template>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
<template v-if="(recom.relationships != null && ((recom.relationships.children && recom.relationships.children.data) || (recom.relationships.contents && recom.relationships.contents.data)))">
|
<template v-if="(recom.relationships != null && ((recom.relationships.children && recom.relationships.children.data) || (recom.relationships.contents && recom.relationships.contents.data)))">
|
||||||
<template v-if="index === 0|| (data.relationships.tabs.data[0].relationships.children.data[0].relationships == null && index === 1)">
|
<template v-if="index === 0|| (data.relationships.tabs.data[0].relationships.children.data[0].relationships == null && index === 1)">
|
||||||
<mediaitem-scroller-horizontal-mvview :imagesize="800" :browsesp="index == 0|| (data.relationships.tabs.data[0].relationships.children.data[0].relationships == null && index === 1)" :kind="recom.attributes.editorialElementKind"
|
<mediaitem-scroller-horizontal-mvview :imagesize="800" :browsesp="index == 0|| (data.relationships.tabs.data[0].relationships.children.data[0].relationships == null && index === 1)" :kind="recom.attributes.editorialElementKind"
|
||||||
:items="recom.relationships.children ? recom.relationships.children.data.limit(10) : recom.relationships.contents.data.limit(10)"></mediaitem-scroller-horizontal-mvview>
|
:items="recom.relationships.children ? recom.relationships.children.data : recom.relationships.contents.data"></mediaitem-scroller-horizontal-mvview>
|
||||||
</template>
|
</template>
|
||||||
<template v-else-if="(['327']).includes(recom.attributes.editorialElementKind)">
|
<template v-else-if="(['327']).includes(recom.attributes.editorialElementKind)">
|
||||||
<div class="mediaitem-list-item__grid">
|
<div class="mediaitem-list-item__grid">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue