add spinner to artist library page

This commit is contained in:
Thomas Amland 2020-12-05 11:06:07 +01:00
parent 7e8b7c4478
commit 2692db3611

View File

@ -1,5 +1,7 @@
<template> <template>
<ContentLoader v-slot :loading="items == null">
<ArtistList :items="items" /> <ArtistList :items="items" />
</ContentLoader>
</template> </template>
<script lang="ts"> <script lang="ts">
import Vue from 'vue' import Vue from 'vue'
@ -12,7 +14,7 @@
}, },
data() { data() {
return { return {
items: [] as Artist[] items: null as null | Artist[]
} }
}, },
created() { created() {