diff --git a/client/app/scripts/reducers/root.js b/client/app/scripts/reducers/root.js index 968400a01..58d9c0ae6 100644 --- a/client/app/scripts/reducers/root.js +++ b/client/app/scripts/reducers/root.js @@ -545,7 +545,7 @@ export function rootReducer(state = initialState, action) { if (networkPrefix) { state = state.update('nodes', nodes => nodes.map(node => node.update('networks', - networks => networks.map(n => n.set('colorKey', + networks => networks && networks.map(n => n.set('colorKey', n.get('colorKey').substr(networkPrefix.length)))))); state = state.update('availableNetworks',