Bug Fixed creating Team
This commit is contained in:
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
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user