Loading indicator while awaiting library

This commit is contained in:
benonymity 2022-04-23 00:56:46 -04:00
parent b72aba36b8
commit 9263028c56

View file

@ -6,7 +6,7 @@
</template>
</div>
<div v-if="!shelves.length" class="absolute top-0 left-0 w-full h-full flex items-center justify-center">
<div v-if="!shelves.length && !loading" class="absolute top-0 left-0 w-full h-full flex items-center justify-center">
<div>
<p class="mb-4 text-center text-xl">
Bookshelf empty
@ -27,6 +27,9 @@
</div>
</div>
</div>
<div v-if="loading" class="absolute top-0 left-0 w-full h-full flex items-center justify-center">
<ui-loading-indicator text="Loading Library...">
</div>
</div>
</template>