Commit cd0eae14a939932d51b156dbde9ca2d1c3cca6bb

Authored by Elena.Budnik
1 parent d0cb1f34

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 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() ) {
  130 + else if (this.isLeaf() || ( this.get('nodeType' ) == 'derivedParam' && this.get('isParameter')) ) {
131 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 134 itemKind = amdaUI.ExplorerUI.ITEM_KIND_PARA;
135 135 }
136 136 else if (this.get('rank')) {
... ...