Skip to content

Commit

Permalink
fix: missing dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlougheed committed Sep 1, 2023
1 parent 30e6ba2 commit 24ef068
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/datasets/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ const fetchDatasetSummary = networkAction((serviceInfo, datasetID) => ({
export const fetchDatasetSummariesIfPossible = (datasetID) => async (dispatch, getState) => {
if (getState().datasetSummaries.isFetching) return;
await Promise.all(
getDataServices(getState()).map(serviceInfo => fetchDatasetSummary(serviceInfo, datasetID)),
getDataServices(getState()).map(serviceInfo => dispatch(fetchDatasetSummary(serviceInfo, datasetID))),
);
};

0 comments on commit 24ef068

Please sign in to comment.