fix: 🐛 fix reading filters (fix )

This commit is contained in:
Michel Roux 2024-12-24 18:56:04 +01:00
parent df4ea17403
commit c768d1b620

@ -7,10 +7,6 @@ export const useSettings = defineStore('settings', {
try { try {
const filters = JSON.parse(getCookie('repod.filters') || '{}') || {} const filters = JSON.parse(getCookie('repod.filters') || '{}') || {}
if (!filters.length) {
throw new Error('Empty cookie')
}
return { return {
filters: { filters: {
listened: filters.listened, listened: filters.listened,