Fix bug in preferences

This commit is contained in:
root
2021-11-02 03:47:30 +05:30
parent fde0b115f1
commit 0c16e2e057
+5 -1
View File
@@ -3,7 +3,11 @@ import { get as _get, isString, set as _set } from 'lodash-es'
const PrefsStore = {
namespaced: true,
state: () => ({
prefs: {}
// Declaring boolean values here because v-simple-checkbox has a bug (???) which renders it unable to have internal state
prefs: {
playerAutoplay: true,
audioOnly: false
}
}),
mutations: {
setPrefs (state, {