From 38d99cfb1bbe22352cb5a00d2af8b166ee2df8ca Mon Sep 17 00:00:00 2001 From: Arturo Buono Date: Mon, 26 Feb 2024 14:37:59 +0100 Subject: [PATCH] fix(fe-forum): updates 20240226 --- fe-piattaforma/src/redux/features/forum/forumThunk.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fe-piattaforma/src/redux/features/forum/forumThunk.ts b/fe-piattaforma/src/redux/features/forum/forumThunk.ts index 5be25a6eb..c85a624f1 100644 --- a/fe-piattaforma/src/redux/features/forum/forumThunk.ts +++ b/fe-piattaforma/src/redux/features/forum/forumThunk.ts @@ -461,7 +461,7 @@ const GetItemsListAction = { type: 'forum/GetItemsList', }; export const GetItemsList = - (entity: 'board' | 'forum' | 'document') => + (entity: 'board' | 'community' | 'document') => async (dispatch: Dispatch, select: Selector) => { try { dispatch(showLoader()); @@ -491,7 +491,7 @@ export const GetItemsList = case 'board': dispatch(setNewsList(res.data.data.items)); break; - case 'forum': + case 'community': dispatch(setTopicsList(res.data.data.items)); break; case 'document':