Set toLoad to false when we receive a need
@@ -268,10 +268,9 @@ export default function(processState = initialState, action = {}) {
needs &&
needs.keySeq().forEach(needUri => {
- processState = processState.setIn(
- ["needs", needUri, "loading"],
- false
- );
+ processState = processState
+ .setIn(["needs", needUri, "loading"], false)
+ .setIn(["needs", needUri, "toLoad", false]);
});
return processState;
}
