Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
feat(dashboard): add anon_view to notification filter matching
Richie McIlroy8d8229f46d5f
diff --git a/apps/web/app/(org)/dashboard/_components/Notifications/Filter.ts b/apps/web/app/(org)/dashboard/_components/Notifications/Filter.tsindex 727a0dd8c..148578bc2 100644--- a/apps/web/app/(org)/dashboard/_components/Notifications/Filter.ts+++ b/apps/web/app/(org)/dashboard/_components/Notifications/Filter.ts@@ -16,6 +16,7 @@ export const FilterLabels: Record<FilterType, string> = {reply: "Replies",view: "Views",reaction: "Reactions",+ anon_view: "Views",};export const matchNotificationFilter = (@@ -23,5 +24,6 @@ export const matchNotificationFilter = (type: NotificationType,): boolean => {if (filter === "all") return true;+ if (filter === "view") return type === "view" || type === "anon_view";return type === filter;};