Paginated context: fetch the status before ancestors/descendants

This commit is contained in:
Alex Gleason 2022-05-13 17:25:58 -05:00
parent 0b8fbdfbb9
commit 9f8a74b376
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -216,10 +216,10 @@ export function fetchStatusWithContext(id) {
const features = getFeatures(getState().instance);
if (features.paginatedContext) {
await dispatch(fetchStatus(id));
const responses = await Promise.all([
dispatch(fetchAncestors(id)),
dispatch(fetchDescendants(id)),
dispatch(fetchStatus(id)),
]);
dispatch({