Charting Space done
This commit is contained in:
1 parent
6a17f4e869
commit
a339b808f5
2 files changed
+31
-1
No files matched your search
@@ -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"
|
||||
}
|
||||
]
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user