add spinner to artist library page
This commit is contained in:
parent
7e8b7c4478
commit
2692db3611
@ -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() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user