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