Revert "fix: 🎨 simplify undefined test for filters"
This reverts commit c37783d814
.
This commit is contained in:
parent
b33a0fdb40
commit
2546df30fc
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user