Remove this that prevents to save the definition
This commit is contained in:
1 parent
5253ffb98f
commit
e45da4b7f0
1 file changed
-6
@@ -114,12 +114,6 @@ function newStrategizerGateway () {
|
||||
return
|
||||
}
|
||||
|
||||
let idAtStrategizer = window.localStorage.getItem(CANVAS_APP_NAME + '.' + MODULE_NAME + '.' + user.alias)
|
||||
if (idAtStrategizer === undefined || idAtStrategizer === null) {
|
||||
logger.write('[ERROR] saveToStrategyzer -> Can not save when idAtStrategizer is null or undefined.')
|
||||
return
|
||||
}
|
||||
|
||||
if (window.canvasApp.executingAt === 'Local') {
|
||||
tradingSystem.simulationParams = simulationParams
|
||||
callServer(JSON.stringify(tradingSystem), 'SaveDefinition', onSaved)
|
||||
|
||||
Reference in new issue
Block a user