diff --git a/src/components/LibraryItem.tsx b/src/components/LibraryItem.tsx index 13b781b..b4cebdf 100644 --- a/src/components/LibraryItem.tsx +++ b/src/components/LibraryItem.tsx @@ -107,9 +107,14 @@ export class LibraryItem extends React.Component { + + // The commented code below affects tests. This needs to be address + this.props.data.childItems.filter((item: any) => { return item.expanded == true; }); + // let isThereChildItemsToExpand = this.props.data.childItems.filter((item: any) => { + // return item.expanded == true; + // }); // if (isThereChildItemsToExpand.length == 0) { // setTimeout(() => { // let elem = ReactDOM.findDOMNode(this);