From aa550a893f67d1e552cd1143bc484b8f030f9aab Mon Sep 17 00:00:00 2001 From: jpellizzari Date: Fri, 10 Feb 2017 14:25:45 -0800 Subject: [PATCH] Show loading indicator on topology changes --- client/app/scripts/reducers/root.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/app/scripts/reducers/root.js b/client/app/scripts/reducers/root.js index 81d686b8bb..2c866b83d5 100644 --- a/client/app/scripts/reducers/root.js +++ b/client/app/scripts/reducers/root.js @@ -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; } @@ -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; }