mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-08-04 10:04:39 +02:00
Update:Home screen server loading to not block local item access #708
This commit is contained in:
parent
d207e88e18
commit
f3964dda17
5 changed files with 51 additions and 39 deletions
|
@ -5,7 +5,7 @@
|
|||
<Nuxt />
|
||||
|
||||
<div v-if="attemptingConnection" class="absolute top-0 left-0 z-50 w-full h-full flex items-center justify-center">
|
||||
<ui-loading-indicator text="Connecting to server..." />
|
||||
<ui-loading-indicator text="Connecting to server..." class="mt-9" />
|
||||
</div>
|
||||
</div>
|
||||
<app-audio-player-container ref="streamContainer" />
|
||||
|
@ -21,7 +21,6 @@
|
|||
export default {
|
||||
data() {
|
||||
return {
|
||||
attemptingConnection: false,
|
||||
inittingLibraries: false,
|
||||
hasMounted: false,
|
||||
disconnectTime: 0
|
||||
|
@ -72,6 +71,14 @@ export default {
|
|||
},
|
||||
currentLibraryId() {
|
||||
return this.$store.state.libraries.currentLibraryId
|
||||
},
|
||||
attemptingConnection: {
|
||||
get() {
|
||||
return this.$store.state.attemptingConnection
|
||||
},
|
||||
set(val) {
|
||||
this.$store.commit('setAttemptingConnection', val)
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue