Paginated context: fetch the status before ancestors/descendants
This commit is contained in:
parent
0b8fbdfbb9
commit
9f8a74b376
1 changed files with 1 additions and 1 deletions
|
@ -216,10 +216,10 @@ export function fetchStatusWithContext(id) {
|
||||||
const features = getFeatures(getState().instance);
|
const features = getFeatures(getState().instance);
|
||||||
|
|
||||||
if (features.paginatedContext) {
|
if (features.paginatedContext) {
|
||||||
|
await dispatch(fetchStatus(id));
|
||||||
const responses = await Promise.all([
|
const responses = await Promise.all([
|
||||||
dispatch(fetchAncestors(id)),
|
dispatch(fetchAncestors(id)),
|
||||||
dispatch(fetchDescendants(id)),
|
dispatch(fetchDescendants(id)),
|
||||||
dispatch(fetchStatus(id)),
|
|
||||||
]);
|
]);
|
||||||
|
|
||||||
dispatch({
|
dispatch({
|
||||||
|
|
Loading…
Reference in a new issue