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 {
|
return {
|
||||||
filters: {
|
filters: {
|
||||||
listened: !!filters.listened,
|
listened:
|
||||||
listening: !!filters.listening,
|
filters.listened === undefined ? true : filters.listened,
|
||||||
unlistened: !!filters.unlistened,
|
listening:
|
||||||
|
filters.listening === undefined ? true : filters.listening,
|
||||||
|
unlistened:
|
||||||
|
filters.unlistened === undefined ? true : filters.unlistened,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
} catch {
|
} catch {
|
||||||
|
Loading…
Reference in New Issue
Block a user