Skip to content

Commit

Permalink
fix(tree-base.js) Allow treeIndent to be 0
Browse files Browse the repository at this point in the history
  • Loading branch information
m4m4m4 authored and mportuga committed Apr 26, 2018
1 parent bfae3ba commit 68be14e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/tree-base/js/tree-base.js
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@
* but will make the tree row header wider
* <br/>Defaults to 10
*/
gridOptions.treeIndent = gridOptions.treeIndent || 10;
gridOptions.treeIndent = (gridOptions.treeIndent != null) ? gridOptions.treeIndent : 10;

/**
* @ngdoc object
Expand Down

0 comments on commit 68be14e

Please sign in to comment.