Update:Home screen server loading to not block local item access #708

This commit is contained in:
advplyr 2023-06-04 17:14:26 -05:00
parent d207e88e18
commit f3964dda17
5 changed files with 51 additions and 39 deletions

View file

@ -3,10 +3,7 @@
<home-bookshelf-nav-bar />
<home-bookshelf-toolbar v-show="!hideToolbar" />
<div id="bookshelf-wrapper" class="main-content overflow-y-auto overflow-x-hidden relative" :class="hideToolbar ? 'no-toolbar' : ''">
<nuxt-child :loading.sync="loading" />
</div>
<div v-if="loading" class="absolute top-0 left-0 z-50 w-full h-full flex items-center justify-center">
<ui-loading-indicator text="Loading..." />
<nuxt-child />
</div>
</div>
</template>
@ -14,9 +11,7 @@
<script>
export default {
data() {
return {
loading: false
}
return {}
},
computed: {
hideToolbar() {