mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-03 18:20:27 +00:00
Show loading indicator on topology changes
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user