Show loading indicator on topology changes

This commit is contained in:
jpellizzari
2017-02-10 14:25:45 -08:00
parent cc59b4736e
commit 404f0fc7b1

View File

@@ -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;
}