Skip to content

Commit

Permalink
Fixed #426
Browse files Browse the repository at this point in the history
  • Loading branch information
mertsincan committed May 30, 2018
1 parent 52ad28c commit 454bc45
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/tree/Tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,10 @@ export class Tree extends Component {
}

render() {
if(this.props.selection && this.selection !== this.props.selection) {
this.selection = this.props.selection;
}

var treeClass = classNames('ui-tree ui-widget ui-widget-content ui-corner-all', this.props.className, {
'ui-tree-selectable': this.props.selectionMode,
'ui-tree-horizontal': this.isHorizontal()
Expand Down

0 comments on commit 454bc45

Please sign in to comment.