From 24ef068ff694fdea94aea581da5077c11104e1c1 Mon Sep 17 00:00:00 2001 From: David Lougheed Date: Fri, 1 Sep 2023 14:28:12 -0400 Subject: [PATCH] fix: missing dispatch --- src/modules/datasets/actions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/datasets/actions.js b/src/modules/datasets/actions.js index b6dcfdb77..947d56b1f 100644 --- a/src/modules/datasets/actions.js +++ b/src/modules/datasets/actions.js @@ -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))), ); };