ref 18291: Modify the Accounting Dashboard portlet to support the Core
Services Category per gateway https://support.d4science.org/issues/18291 Fixed infra nodes scope
This commit is contained in:
parent
58ccefa0b7
commit
d0e815d7f7
|
@ -142,7 +142,7 @@ public class PortalContextTreeProvider implements ContextTreeProvider {
|
||||||
if (infraNode.getChildren() != null && !infraNode.getChildren().isEmpty()) {
|
if (infraNode.getChildren() != null && !infraNode.getChildren().isEmpty()) {
|
||||||
LinkedList<ScopeDescriptor> childsScopeDescriptor = new LinkedList<>();
|
LinkedList<ScopeDescriptor> childsScopeDescriptor = new LinkedList<>();
|
||||||
for (InfraNode child : infraNode.getChildren()) {
|
for (InfraNode child : infraNode.getChildren()) {
|
||||||
ScopeDescriptor childScopeDescriptor = createRelativeInfraNode(child, absoluteScope.toString());
|
ScopeDescriptor childScopeDescriptor = createRelativeInfraNode(child, scope);
|
||||||
childsScopeDescriptor.add(childScopeDescriptor);
|
childsScopeDescriptor.add(childScopeDescriptor);
|
||||||
}
|
}
|
||||||
scopeDescriptor.setChildren(childsScopeDescriptor);
|
scopeDescriptor.setChildren(childsScopeDescriptor);
|
||||||
|
|
Loading…
Reference in New Issue