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:
Giancarlo Panichi 2020-01-22 10:49:22 +01:00
parent 58ccefa0b7
commit d0e815d7f7
1 changed files with 1 additions and 1 deletions

View File

@ -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);