Commit cd0eae14a939932d51b156dbde9ca2d1c3cca6bb
1 parent
d0cb1f34
Exists in
master
and in
93 other branches
rm 8464 corr
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
js/app/models/AmdaNode.js
@@ -127,10 +127,10 @@ Ext.define('amdaModel.AmdaNode', { | @@ -127,10 +127,10 @@ Ext.define('amdaModel.AmdaNode', { | ||
127 | itemKind = amdaUI.ExplorerUI.ITEM_KIND_ROOT; | 127 | itemKind = amdaUI.ExplorerUI.ITEM_KIND_ROOT; |
128 | } | 128 | } |
129 | // if this node is a leaf and have no child | 129 | // if this node is a leaf and have no child |
130 | - else if (this.isLeaf() ) { | 130 | + else if (this.isLeaf() || ( this.get('nodeType' ) == 'derivedParam' && this.get('isParameter')) ) { |
131 | itemKind = amdaUI.ExplorerUI.ITEM_KIND_LEAF; | 131 | itemKind = amdaUI.ExplorerUI.ITEM_KIND_LEAF; |
132 | } | 132 | } |
133 | - else if (this.get('isParameter')) { | 133 | + else if (this.get('isParameter') && this.get('nodeType' ) != 'derivedParam' ) { |
134 | itemKind = amdaUI.ExplorerUI.ITEM_KIND_PARA; | 134 | itemKind = amdaUI.ExplorerUI.ITEM_KIND_PARA; |
135 | } | 135 | } |
136 | else if (this.get('rank')) { | 136 | else if (this.get('rank')) { |