From c0d302a65e58a78a6693cd329ed5d71e4569cc69 Mon Sep 17 00:00:00 2001 From: Renaud Chaput Date: Thu, 13 Jun 2024 16:59:19 +0200 Subject: [PATCH] Forgot to dispatch the action --- app/javascript/mastodon/actions/notification_groups.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/javascript/mastodon/actions/notification_groups.ts b/app/javascript/mastodon/actions/notification_groups.ts index 9fb4846803..dc01fbedaf 100644 --- a/app/javascript/mastodon/actions/notification_groups.ts +++ b/app/javascript/mastodon/actions/notification_groups.ts @@ -33,7 +33,8 @@ export const fetchNotifications = createDataLoadingThunk( if (fetchedAccounts.length > 0) dispatch(importFetchedAccounts(fetchedAccounts)); - if (fetchedStatuses.length > 0) importFetchedStatuses(fetchedStatuses); + if (fetchedStatuses.length > 0) + dispatch(importFetchedStatuses(fetchedStatuses)); // dispatch(submitMarkers()); },