Skip to content

Commit

Permalink
Show loading indicator on topology changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jpellizzari committed Feb 10, 2017
1 parent f86d0d8 commit aa550a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/app/scripts/reducers/root.js
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ export function rootReducer(state = initialState, action) {
state = state.update('nodes', nodes => nodes.clear());
}
state = state.set('availableCanvasMetrics', makeList());
state = state.set('nodesLoaded', false);
return state;
}

Expand All @@ -293,6 +294,7 @@ export function rootReducer(state = initialState, action) {
state = state.update('nodes', nodes => nodes.clear());
}
state = state.set('availableCanvasMetrics', makeList());
state = state.set('nodesLoaded', false);
return state;
}

Expand Down

0 comments on commit aa550a8

Please sign in to comment.