Commit 6aa5af40e116c9da6d490d01004aac380c98587f
Exists in
master
and in
93 other branches
Merge branch 'master' of https://gitlab.irap.omp.eu/CDPP/AMDA_IHM
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
js/app/models/AmdaNode.js
... | ... | @@ -127,7 +127,7 @@ Ext.define('amdaModel.AmdaNode', { |
127 | 127 | itemKind = amdaUI.ExplorerUI.ITEM_KIND_ROOT; |
128 | 128 | } |
129 | 129 | // if this node is a leaf and have no child |
130 | - else if (this.isLeaf() || this.get('nodeType' ) == 'derivedParam' ) { | |
130 | + else if (this.isLeaf() || ( this.get('nodeType' ) == 'derivedParam' && this.get('isParameter')) ) { | |
131 | 131 | itemKind = amdaUI.ExplorerUI.ITEM_KIND_LEAF; |
132 | 132 | } |
133 | 133 | else if (this.get('isParameter') && this.get('nodeType' ) != 'derivedParam' ) { |
... | ... |