From bdc0e0d27e86e95b19b1a48e8f66532fd323aa2c Mon Sep 17 00:00:00 2001 From: Claire Date: Tue, 20 Aug 2024 18:18:33 +0200 Subject: [PATCH] [Glitch] Fix non-grouped notifications not loading on page load Port 9ba7c90151463a6e4f7952317253fe8c113e9b0a to glitch-soc Signed-off-by: Claire --- .../flavours/glitch/actions/notifications_migration.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/flavours/glitch/actions/notifications_migration.tsx b/app/javascript/flavours/glitch/actions/notifications_migration.tsx index 3acceef0f8..ac7727ecd1 100644 --- a/app/javascript/flavours/glitch/actions/notifications_migration.tsx +++ b/app/javascript/flavours/glitch/actions/notifications_migration.tsx @@ -13,6 +13,6 @@ export const initializeNotifications = createAppAsyncThunk( ) as boolean; if (enableBeta) void dispatch(fetchNotifications()); - else void dispatch(expandNotifications()); + else void dispatch(expandNotifications({})); }, );