Bug Fixed creating Team

This commit is contained in:
Luis Fernando Molina committed 2019-10-30 17:26:39 +01:00
1 parent d5a0681f38
commit 714d658ed1
1 file changed
+2 -2
@@ -871,14 +871,14 @@ function newUiObjectsFromNodes () {
function addTeam (node) {
let team = {
name: 'New Team',
type: 'Team',
sensorBots: [],
indicatorBots: [],
tradingBots: [],
plotters: []
}
node.rootNodes.push(team)
createUiObject(node.type, network.name, network, node, undefined)
createUiObject(team.type, team.name, team, undefined, undefined)
return team
}