mirror of https://github.com/usememos/memos
fix(web): make memoFilterStore reactive by marking fields as observable
Fixes the root cause of non-reactive filtering. The MemoFilterState class was not marking its fields as observable in MobX, so changes to the filters array were not being tracked. Added makeObservable configuration to mark: - filters and shortcut as observable - addFilter, removeFilter, removeFiltersByFactor, clearAllFilters, setShortcut as actions This ensures that when tags are clicked and filters are added/removed, MobX observer components will re-render and fetch new data. Related to #5189 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>release/0.25.2
parent
e0b1153269
commit
bfad0708e2
Loading…
Reference in New Issue