frontend fix
This commit is contained in:
parent
20e4e94b5f
commit
4d7eb9bafa
1 changed files with 1 additions and 2 deletions
|
@ -94,8 +94,7 @@ export const fetchTopicsList = (
|
||||||
dispatch(actions.fetchTopicsListAction.request());
|
dispatch(actions.fetchTopicsListAction.request());
|
||||||
try {
|
try {
|
||||||
const topics = await apiClient.getTopics({ clusterName });
|
const topics = await apiClient.getTopics({ clusterName });
|
||||||
// todo: fix needed from FE person
|
dispatch(actions.fetchTopicsListAction.success(topics.topics || []));
|
||||||
// dispatch(actions.fetchTopicsListAction.success(topics));
|
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
dispatch(actions.fetchTopicsListAction.failure());
|
dispatch(actions.fetchTopicsListAction.failure());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue