Skip to content

Commit

Permalink
fix(badge): add context triggered to the list of action affecting badge
Browse files Browse the repository at this point in the history
  • Loading branch information
lutangar committed Dec 20, 2019
1 parent b93ff04 commit b325053
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/background/sagas/badge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {
MARK_NOTICE_READ,
NOTICES_FOUND,
NO_NOTICES_DISPLAYED,
CONTEXT_TRIGGERED,
CONTEXT_NOT_TRIGGERED,
AppAction,
MarkNoticeReadAction,
Expand Down Expand Up @@ -56,6 +57,7 @@ const isActionImpactingBadge = (action: AppAction): boolean =>
action.type === MARK_NOTICE_READ ||
action.type === NOTICES_FOUND ||
action.type === FEEDBACK_ON_NOTICE ||
action.type === CONTEXT_TRIGGERED ||
action.type === CONTEXT_NOT_TRIGGERED ||
action.type === NO_NOTICES_DISPLAYED;

Expand Down

0 comments on commit b325053

Please sign in to comment.