mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-01-02 20:19:10 +01:00
Remove old square covers config
This commit is contained in:
parent
0aadf579f3
commit
721de0a343
@ -164,8 +164,8 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (this.$root.socket) {
|
if (this.$root.socket) {
|
||||||
this.$root.socket.off('user_added', this.newUserAdded)
|
this.$root.socket.off('user_added', this.addUpdateUser)
|
||||||
this.$root.socket.off('user_updated', this.userUpdated)
|
this.$root.socket.off('user_updated', this.addUpdateUser)
|
||||||
this.$root.socket.off('user_removed', this.userRemoved)
|
this.$root.socket.off('user_removed', this.userRemoved)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -208,6 +208,6 @@ export default {
|
|||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
padding-top: 5px;
|
padding-top: 5px;
|
||||||
padding-bottom: 5px;
|
padding-bottom: 5px;
|
||||||
background-color: #272727
|
background-color: #272727;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
@ -52,15 +52,6 @@
|
|||||||
<h2 class="font-semibold">Display</h2>
|
<h2 class="font-semibold">Display</h2>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- <div class="flex items-center py-2">
|
|
||||||
<ui-toggle-switch v-model="useSquareBookCovers" :disabled="updatingServerSettings" @input="updateBookCoverAspectRatio" />
|
|
||||||
<ui-tooltip :text="tooltips.coverAspectRatio">
|
|
||||||
<p class="pl-4">
|
|
||||||
Square book covers
|
|
||||||
<span class="material-icons icon-text text-sm">info_outlined</span>
|
|
||||||
</p>
|
|
||||||
</ui-tooltip>
|
|
||||||
</div> -->
|
|
||||||
<div class="flex items-center py-2">
|
<div class="flex items-center py-2">
|
||||||
<ui-toggle-switch v-model="homeUseAlternativeBookshelfView" :disabled="updatingServerSettings" @input="updateHomeAlternativeBookshelfView" />
|
<ui-toggle-switch v-model="homeUseAlternativeBookshelfView" :disabled="updatingServerSettings" @input="updateHomeAlternativeBookshelfView" />
|
||||||
<ui-tooltip :text="tooltips.bookshelfView">
|
<ui-tooltip :text="tooltips.bookshelfView">
|
||||||
@ -279,7 +270,6 @@ export default {
|
|||||||
return {
|
return {
|
||||||
isResettingLibraryItems: false,
|
isResettingLibraryItems: false,
|
||||||
updatingServerSettings: false,
|
updatingServerSettings: false,
|
||||||
useSquareBookCovers: false,
|
|
||||||
homeUseAlternativeBookshelfView: false,
|
homeUseAlternativeBookshelfView: false,
|
||||||
useAlternativeBookshelfView: false,
|
useAlternativeBookshelfView: false,
|
||||||
isPurgingCache: false,
|
isPurgingCache: false,
|
||||||
@ -406,8 +396,6 @@ export default {
|
|||||||
this.newServerSettings = this.serverSettings ? { ...this.serverSettings } : {}
|
this.newServerSettings = this.serverSettings ? { ...this.serverSettings } : {}
|
||||||
this.newServerSettings.sortingPrefixes = [...(this.newServerSettings.sortingPrefixes || [])]
|
this.newServerSettings.sortingPrefixes = [...(this.newServerSettings.sortingPrefixes || [])]
|
||||||
|
|
||||||
this.useSquareBookCovers = this.newServerSettings.coverAspectRatio === this.$constants.BookCoverAspectRatio.SQUARE
|
|
||||||
|
|
||||||
this.homeUseAlternativeBookshelfView = this.newServerSettings.homeBookshelfView === this.$constants.BookshelfView.TITLES
|
this.homeUseAlternativeBookshelfView = this.newServerSettings.homeBookshelfView === this.$constants.BookshelfView.TITLES
|
||||||
this.useAlternativeBookshelfView = this.newServerSettings.bookshelfView === this.$constants.BookshelfView.TITLES
|
this.useAlternativeBookshelfView = this.newServerSettings.bookshelfView === this.$constants.BookshelfView.TITLES
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user