added missing views to albums/playlists

This commit is contained in:
booploops 2022-01-18 04:29:42 -08:00
parent 969a2f1a6d
commit d5013a9c15
2 changed files with 18 additions and 1 deletions

View file

@ -165,6 +165,20 @@
style="width: 50%;">
{{data.attributes.copyright}}
</div>
<hr>
<template v-if="typeof data.meta != 'undefined'">
<div v-for="view in data.meta.views.order" v-if="data.views[view].data.length != 0">
<div class="row" >
<div class="col">
<h3>{{ data.views[view].attributes.title }}</h3>
</div>
</div>
<div>
<mediaitem-scroller-horizontal :items="data.views[view].data"></mediaitem-scroller-horizontal>
</div>
</div>
</template>
</div>
</template>
</div>