diff --git a/Projects/Ethereum/Schemas/AppSchema.json b/Projects/Ethereum/Schemas/AppSchema.json index 0d22c23d7..1cd275087 100644 --- a/Projects/Ethereum/Schemas/AppSchema.json +++ b/Projects/Ethereum/Schemas/AppSchema.json @@ -875,5 +875,35 @@ "properties": [ ], "icon": "bitcoin" + }, + { + "type": "Project Dashboards", + "menuItems": [ + { + "action": "Delete UI Object", + "askConfirmation": true, + "confirmationLabel": "Confirm to Delete", + "label": "Delete", + "iconPathOn": "delete", + "iconPathOff": "delete", + "actionFunction": "payload.executeAction" + } + ], + "title": [ + "Use Reference Parent" + ], + "alternativeIcons": "Use Reference Parent Parent", + "addLeftIcons": true, + "level": 2, + "referenceAttachesTo": { + "compatibleTypes": "->Project Definition->" + }, + "chainAttachesTo": { + "compatibleTypes": "->Charting Space->" + }, + "propertyNameAtParent": "projectDashboards", + "properties": [ + ], + "icon": "bitcoin" } ] \ No newline at end of file diff --git a/Projects/Superalgos/Function-Libraries/ChartingSpaceFunctions.js b/Projects/Superalgos/Function-Libraries/ChartingSpaceFunctions.js index bf70e5788..4ffe5a697 100644 --- a/Projects/Superalgos/Function-Libraries/ChartingSpaceFunctions.js +++ b/Projects/Superalgos/Function-Libraries/ChartingSpaceFunctions.js @@ -316,7 +316,7 @@ function newSuperalgosFunctionLibraryChartingSpaceFunctions() { let projectDefinition = rootNode.projectDefinition if (projectDefinition !== undefined) { if (UI.projects.superalgos.utilities.children.isMissingChildren(node, projectDefinition, true) === true) { - let projectTasks = UI.projects.superalgos.functionLibraries.uiObjectsFromNodes.addUIObject(node, 'Project Dashboards') + let projectTasks = UI.projects.superalgos.functionLibraries.uiObjectsFromNodes.addUIObject(node, 'Project Dashboards', undefined, project) projectTasks.payload.referenceParent = projectDefinition } }