diff --git a/src/store/settings.ts b/src/store/settings.ts index da94329..9831bbf 100644 --- a/src/store/settings.ts +++ b/src/store/settings.ts @@ -9,12 +9,9 @@ export const useSettings = defineStore('settings', { return { filters: { - listened: - filters.listened === undefined ? true : filters.listened, - listening: - filters.listening === undefined ? true : filters.listening, - unlistened: - filters.unlistened === undefined ? true : filters.unlistened, + listened: !!filters.listened, + listening: !!filters.listening, + unlistened: !!filters.unlistened, }, } } catch {