mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-08-31 07:09:53 +02:00
Remove socketConnected check on local items alert
This commit is contained in:
parent
78170d4e10
commit
1822b21af8
1 changed files with 1 additions and 4 deletions
|
@ -27,7 +27,7 @@
|
||||||
<p v-if="subtitle" class="text-gray-100 text-base">{{ subtitle }}</p>
|
<p v-if="subtitle" class="text-gray-100 text-base">{{ subtitle }}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div v-if="hasLocal && this.socketConnected" class="mx-1">
|
<div v-if="hasLocal" class="mx-1">
|
||||||
<div v-if="isLocalOnly" class="w-full rounded-md bg-warning/10 border border-warning p-4">
|
<div v-if="isLocalOnly" class="w-full rounded-md bg-warning/10 border border-warning p-4">
|
||||||
<p class="text-sm">{{ $strings.MessageMediaNotLinkedToServer }}</p>
|
<p class="text-sm">{{ $strings.MessageMediaNotLinkedToServer }}</p>
|
||||||
</div>
|
</div>
|
||||||
|
@ -448,9 +448,6 @@ export default {
|
||||||
|
|
||||||
if (width * this.bookCoverAspectRatio > 325) width = 325 / this.bookCoverAspectRatio
|
if (width * this.bookCoverAspectRatio > 325) width = 325 / this.bookCoverAspectRatio
|
||||||
return width
|
return width
|
||||||
},
|
|
||||||
socketConnected () {
|
|
||||||
return this.$store.state.socketConnected
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue