Fix bug if no value is supplied.
This commit is contained in:
parent
56f3e9a7da
commit
9ece2f78ed
|
@ -75,7 +75,7 @@ function addNetwork(data) {
|
||||||
});
|
});
|
||||||
|
|
||||||
_.each(_.values(network), function(value) {
|
_.each(_.values(network), function(value) {
|
||||||
if (!_.isObject(value)) {
|
if (value && !_.isObject(value)) {
|
||||||
networkMaps[value] = network;
|
networkMaps[value] = network;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue