From b325053ac5303c1b459f63ae3015393f1d040253 Mon Sep 17 00:00:00 2001 From: lutangar Date: Fri, 20 Dec 2019 17:54:44 +0100 Subject: [PATCH] fix(badge): add context triggered to the list of action affecting badge --- src/app/background/sagas/badge.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/background/sagas/badge.ts b/src/app/background/sagas/badge.ts index d1f560c24..fb23e6a09 100644 --- a/src/app/background/sagas/badge.ts +++ b/src/app/background/sagas/badge.ts @@ -8,6 +8,7 @@ import { MARK_NOTICE_READ, NOTICES_FOUND, NO_NOTICES_DISPLAYED, + CONTEXT_TRIGGERED, CONTEXT_NOT_TRIGGERED, AppAction, MarkNoticeReadAction, @@ -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;