From 404f0fc7b19b7b2091a6e6803cc5e2d272368ef8 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 81d686b8b..2c866b83d 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; }