mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-31 23:57:15 +02:00
Update:Home screen server loading to not block local item access #708
This commit is contained in:
+2
-7
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user