From 4d7eb9bafae6352e28a8b1f6442dac8f33157125 Mon Sep 17 00:00:00 2001 From: Ramazan Yapparov Date: Mon, 15 Mar 2021 11:06:34 +0300 Subject: [PATCH] frontend fix --- kafka-ui-react-app/src/redux/actions/thunks.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kafka-ui-react-app/src/redux/actions/thunks.ts b/kafka-ui-react-app/src/redux/actions/thunks.ts index fb2a4d7050..ba8e7da46b 100644 --- a/kafka-ui-react-app/src/redux/actions/thunks.ts +++ b/kafka-ui-react-app/src/redux/actions/thunks.ts @@ -94,8 +94,7 @@ export const fetchTopicsList = ( dispatch(actions.fetchTopicsListAction.request()); try { const topics = await apiClient.getTopics({ clusterName }); - // todo: fix needed from FE person - // dispatch(actions.fetchTopicsListAction.success(topics)); + dispatch(actions.fetchTopicsListAction.success(topics.topics || [])); } catch (e) { dispatch(actions.fetchTopicsListAction.failure()); }