bstreeview
bstreeview copied to clipboard
Fix collapse icon and add expand logic
This PR fixes two things:
- The Expand/Collapse Icon was always present, even if there were no child nodes. Now, this expand/collapse icon only shows when there are child nodes. #20
- Additional logic was added in that if the data passed to the tree includes an
expanded
field value of true, then that node will automatically be expanded upon loading of the tree. #22 #23