mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-13 00:02:53 +02:00
Use getServerSetting to ensure serverSettings is set before accessing
This commit is contained in:
@@ -198,7 +198,7 @@ export default {
|
||||
return this.store.getters['user/getSizeMultiplier']
|
||||
},
|
||||
dateFormat() {
|
||||
return this.store.state.serverSettings.dateFormat
|
||||
return this.store.getters['getServerSetting']('dateFormat')
|
||||
},
|
||||
_libraryItem() {
|
||||
return this.libraryItem || {}
|
||||
|
||||
Reference in New Issue
Block a user