Bug Fixed Governance Tab

This commit is contained in:
Luis Fernando Molina committed 2021-09-22 14:42:53 +02:00
1 parent 2a373a243f
commit c8fbd3bcdc
1 file changed
+2 -2
@@ -125,8 +125,8 @@ function newGobernanceReportsSpace() {
/*
If the workspace is not related to governance, then we exit the Intialize Function
*/
let resultsArary = UI.projects.foundations.spaces.designSpace.workspace.getHierarchyHeadsByNodeType('User Profile')
if (resultsArary.length === 0) { return }
let governanceProject = UI.projects.foundations.spaces.designSpace.workspace.getProjectHeadByNodeType('Governance Project')
if (governanceProject === undefined) { return }
thisObject.container = newContainer()
thisObject.container.name = MODULE_NAME