Update Layer.js
This commit is contained in:
1 parent
7cfd3cf664
commit
55a4fcc022
1 file changed
+3
@@ -231,6 +231,9 @@ function newLayer() {
|
||||
if (thisObject.bot === undefined) {
|
||||
thisObject.bot = UI.projects.superalgos.utilities.meshes.findNodeInNodeMesh(thisObject.definition, 'Trading Bot', undefined, false, true, true, true)
|
||||
}
|
||||
if (thisObject.bot === undefined) {
|
||||
thisObject.bot = UI.projects.superalgos.utilities.meshes.findNodeInNodeMesh(thisObject.definition, 'AI Bot', undefined, false, true, true, true)
|
||||
}
|
||||
if (thisObject.bot === undefined) {
|
||||
thisObject.payload.uiObject.setErrorMessage('Bot not Found')
|
||||
return
|
||||
|
||||
Reference in new issue
Block a user