Commit d8ee9cbb0c011006b6fc6a24f6e08e0036d8cacf

Authored by Hacene SI HADJ MOHAND
1 parent 4ca3eeff

selection ok

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' && this.get('isParameter')) ) {
  130 + else if (this.isLeaf() || ( (this.get('nodeType' ) == 'derivedParam' || this.get('nodeType' ) == 'myDataParam' ) && this.get('isParameter')) ) {
131 131 itemKind = amdaUI.ExplorerUI.ITEM_KIND_LEAF;
132 132 }
133 133 else if (this.get('isParameter') && this.get('nodeType' ) != 'derivedParam' ) {
... ...