Skip to content

Commit

Permalink
Fix resource view updates when time travelling.
Browse files Browse the repository at this point in the history
  • Loading branch information
fbarl committed Jul 4, 2017
1 parent 0c4a229 commit 78988c0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions client/app/scripts/actions/app-actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,9 @@ export function clickResumeUpdate() {
// After unpausing, all of the following calls will re-activate polling.
getTopologies(getState, dispatch);
getNodes(getState, dispatch, true);
if (isResourceViewModeSelector(getState())) {
getResourceViewNodesSnapshot(getState(), dispatch);
}
};
}

Expand All @@ -590,6 +593,9 @@ export function clickTimeTravel() {
});
if (!getState().get('nodesLoaded')) {
getNodes(getState, dispatch);
if (isResourceViewModeSelector(getState())) {
getResourceViewNodesSnapshot(getState(), dispatch);
}
}
};
}
Expand Down

0 comments on commit 78988c0

Please sign in to comment.