fix: 🐛 fix reading filters (fix #231)
This commit is contained in:
parent
df4ea17403
commit
c768d1b620
@ -7,10 +7,6 @@ export const useSettings = defineStore('settings', {
|
||||
try {
|
||||
const filters = JSON.parse(getCookie('repod.filters') || '{}') || {}
|
||||
|
||||
if (!filters.length) {
|
||||
throw new Error('Empty cookie')
|
||||
}
|
||||
|
||||
return {
|
||||
filters: {
|
||||
listened: filters.listened,
|
||||
|
Loading…
Reference in New Issue
Block a user