Skip to content

Commit

Permalink
Fix Bug Tree
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsanakefi committed Jun 20, 2021
1 parent 2230304 commit 66cd2eb
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions playground/src/component/Test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,16 @@ const OrgChartTree: React.FC<Props> = ({ setGraphPage, data }) => {
}}
onClick={toggleNode}
>
{nodeDatum.data &&
{/* {nodeDatum.data &&
nodeDatum.data.map((valArray: any) => {
return valArray.map((valArray1: any) => {
// console.log("asas", valArray1);
return createElementDetails(valArray1, 0);
});
})}
// console.log("a", valArray);
return valArray
? valArray.map((valArray1: any) => {
// console.log("asas", valArray1);
return createElementDetails(valArray1, 0);
})
: {};
})} */}
</div>
</foreignObject>
);
Expand Down

0 comments on commit 66cd2eb

Please sign in to comment.