mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-25 04:44:11 +02:00
Fix getUserSetting incorrectly returning null for all falsy values
This commit is contained in:
@@ -234,8 +234,8 @@ export default {
|
||||
},
|
||||
sortDesc: {
|
||||
get() {
|
||||
const desc = this.$store.state.user.settings.podcastEpisodesOrderDesc
|
||||
if (desc === null || desc === undefined) return this.mediaMetadata.type === 'episodic'
|
||||
const desc = this.$store.getters['user/getUserSetting']('podcastEpisodesOrderDesc')
|
||||
if (desc == null) return this.mediaMetadata.type === 'episodic'
|
||||
return desc
|
||||
},
|
||||
set(val) {
|
||||
|
||||
Reference in New Issue
Block a user