update dependencies
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
</li>
|
||||
</ul>
|
||||
<AlbumList :items="albums" />
|
||||
<InfiniteLoader :key="sort" :loading="loading" :has-more="hasMore" @loadMore="loadMore" />
|
||||
<InfiniteLoader :key="sort" :loading="loading" :has-more="hasMore" @load-more="loadMore" />
|
||||
</div>
|
||||
</template>
|
||||
<script lang="ts">
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
:image="item.image"
|
||||
:to="{name: 'album', params: { id: item.id } }"
|
||||
:title="item.name">
|
||||
<template v-slot:text>
|
||||
<template #text>
|
||||
<router-link :to="{name: 'artist', params: { id: item.artistId } }" class="text-muted">
|
||||
{{ item.artist }}
|
||||
</router-link>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<ContentLoader #default :loading="item == null">
|
||||
<ContentLoader v-slot :loading="item == null">
|
||||
<div class="row">
|
||||
<div class="col col-xl-8">
|
||||
<h1>{{ item.name }}</h1>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<Tile v-for="item in props.items" :key="item.id"
|
||||
:to="{name: 'artist', params: { id: item.id } }"
|
||||
:title="item.name">
|
||||
<template v-slot:text>
|
||||
<template #text>
|
||||
<strong>{{ item.albumCount }}</strong> albums
|
||||
</template>
|
||||
</Tile>
|
||||
|
||||
@@ -14,12 +14,12 @@
|
||||
</li>
|
||||
</ul>
|
||||
<template v-if="section === 'tracks'">
|
||||
<ContentLoader #default :loading="tracks == null">
|
||||
<ContentLoader v-slot :loading="tracks == null">
|
||||
<TrackList :tracks="tracks" />
|
||||
</ContentLoader>
|
||||
</template>
|
||||
<template v-else>
|
||||
<ContentLoader #default :loading="albums == null">
|
||||
<ContentLoader v-slot :loading="albums == null">
|
||||
<AlbumList :items="albums" />
|
||||
</ContentLoader>
|
||||
</template>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
:image="item.image"
|
||||
:to="{name: 'genre', params: { id: item.id } }"
|
||||
:title="item.name">
|
||||
<template v-slot:text>
|
||||
<template #text>
|
||||
<strong>{{ item.albumCount }}</strong> albums •
|
||||
<strong>{{ item.songCount }}</strong> songs
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user