Merge pull request #135 from benonymity/LoadingLibrary

Loading indicator while awaiting library
This commit is contained in:
advplyr 2022-04-23 13:51:18 -05:00 committed by GitHub
commit 612c48174c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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>