From 789143134ce3d1587a39e306f1d81f95a2f61179 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Sat, 25 Apr 2026 19:54:06 +0300 Subject: [PATCH] Add missing new series to state --- frontend/src/Components/SignalRListener.tsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/frontend/src/Components/SignalRListener.tsx b/frontend/src/Components/SignalRListener.tsx index de6d8e442..f5a33c5c3 100644 --- a/frontend/src/Components/SignalRListener.tsx +++ b/frontend/src/Components/SignalRListener.tsx @@ -302,12 +302,7 @@ function SignalRListener() { if (body.action === 'updated') { const updatedItem = body.resource as Series; - updateQueryClientItem( - queryClient, - ['/series'], - updatedItem, - false // Don't add the series to the list if it doesn't exist. Series should already be in the list since they are included in the calendar and series details. - ); + updateQueryClientItem(queryClient, ['/series'], updatedItem, true); repopulatePage('seriesUpdated'); } else if (body.action === 'deleted') {