Skip to content

Commit 69c75e7

Browse files
committed
merge main
Signed-off-by: Adam Setch <[email protected]>
1 parent 3f7d327 commit 69c75e7

File tree

1 file changed

+5
-3
lines changed
  • src/renderer/utils/notifications/filters

1 file changed

+5
-3
lines changed

src/renderer/utils/notifications/filters/filter.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,11 @@ export function filterNotifications(
4242
}
4343

4444
if (hasStateFilters(settings)) {
45-
return settings.filterStates.some((state) =>
46-
filterNotificationByState(notification, state),
47-
);
45+
passesFilters =
46+
passesFilters &&
47+
settings.filterStates.some((state) =>
48+
filterNotificationByState(notification, state),
49+
);
4850
}
4951
}
5052

0 commit comments

Comments
 (0)