fix: 🚑 fix settings (again oups)
All checks were successful
repod / xml (push) Successful in 12s
repod / php (push) Successful in 51s
repod / nodejs (push) Successful in 1m26s
repod / release (push) Successful in 1m34s

This commit is contained in:
Michel Roux 2024-12-24 19:09:45 +01:00
parent 03b4f23e1f
commit a6e6ed83da

View File

@ -9,9 +9,12 @@ export const useSettings = defineStore('settings', {
return {
filters: {
listened: filters.listened,
listening: filters.listening,
unlistened: filters.unlistened,
listened:
filters.listened === undefined ? true : filters.listened,
listening:
filters.listening === undefined ? true : filters.listening,
unlistened:
filters.unlistened === undefined ? true : filters.unlistened,
},
}
} catch {