diff --git a/components/app/Appbar.vue b/components/app/Appbar.vue index fee86c0b..af10a670 100644 --- a/components/app/Appbar.vue +++ b/components/app/Appbar.vue @@ -7,7 +7,7 @@ -
{{ currentLibraryName }}
@@ -54,8 +54,8 @@ export default { this.$store.commit('setCastAvailable', val) } }, - networkConnected() { - return this.$store.state.networkConnected + socketConnected() { + return this.$store.state.socketConnected }, currentLibrary() { return this.$store.getters['libraries/getCurrentLibrary'] @@ -160,4 +160,4 @@ export default { transform: translate(10px, 0); } } - \ No newline at end of file + diff --git a/components/tables/podcast/EpisodesTable.vue b/components/tables/podcast/EpisodesTable.vue index c730cf46..5deb98ef 100644 --- a/components/tables/podcast/EpisodesTable.vue +++ b/components/tables/podcast/EpisodesTable.vue @@ -101,8 +101,8 @@ export default { isAdminOrUp() { return this.$store.getters['user/getIsAdminOrUp'] }, - networkConnected() { - return this.$store.state.networkConnected + socketConnected() { + return this.$store.state.socketConnected }, libraryItemId() { return this.libraryItem?.id || null @@ -233,7 +233,7 @@ export default { } }, async searchEpisodes() { - if (!this.networkConnected) { + if (!this.socketConnected) { return this.$toast.error(this.$strings.MessageNoNetworkConnection) } @@ -314,4 +314,4 @@ export default { this.$socket.$off('episode_download_finished', this.episodeDownloadFinished) } } - \ No newline at end of file + diff --git a/pages/bookshelf/add-podcast.vue b/pages/bookshelf/add-podcast.vue index cff78b5e..4c18b35f 100644 --- a/pages/bookshelf/add-podcast.vue +++ b/pages/bookshelf/add-podcast.vue @@ -3,11 +3,11 @@{{ $strings.MessageNoNetworkConnection }}