diff --git a/DesignSpace/Workspace/FunctionLibraries/SessionFunctions.js b/DesignSpace/Workspace/FunctionLibraries/SessionFunctions.js index 31c87c63e..41b4da779 100644 --- a/DesignSpace/Workspace/FunctionLibraries/SessionFunctions.js +++ b/DesignSpace/Workspace/FunctionLibraries/SessionFunctions.js @@ -73,6 +73,7 @@ function newSessionFunctions () { /* Raise event to run the session */ let event = { + appSchema: JSON.stringify(APP_SCHEMA_ARRAY), session: JSON.stringify(session), tradingSystem: JSON.stringify(tradingSystem), tradingEngine: JSON.stringify(tradingEngine), diff --git a/PostLoader.js b/PostLoader.js index efb258cd7..82c268bec 100644 --- a/PostLoader.js +++ b/PostLoader.js @@ -28,17 +28,9 @@ function newDashboard () { APP_SCHEMA_ARRAY = getAppSchema() for (let i = 0; i < APP_SCHEMA_ARRAY.length; i++) { let nodeDefinition = APP_SCHEMA_ARRAY[i] - - let key - if (nodeDefinition.nameSpace !== undefined) { - key = nodeDefinition.type + '@' + nodeDefinition.nameSpace - } else { - key = nodeDefinition.type - } - + let key = nodeDefinition.type APP_SCHEMA_MAP.set(key, nodeDefinition) } - startCanvas() }