feat: enhance NetworkMembershipService with updated member properties and add referral code functionality; improve org chart styling and debug logging
Build and Deploy to Production / build-and-deploy (push) Successful in 2m3s

This commit is contained in:
masoodafar-web
2025-12-26 05:52:17 +03:30
parent 1c61fe6846
commit 54f8781774
3 changed files with 76 additions and 6 deletions
+5 -2
View File
@@ -30,12 +30,15 @@ window.OrgChart = {
return;
}
// Debug: log first node to see data structure
console.log('OrgChart Data Sample:', data[0]);
try {
this.chart = new d3.OrgChart()
.container('#' + containerId)
.data(data)
.nodeWidth((d) => 130)
.nodeHeight((d) => 56)
.nodeWidth((d) => 140)
.nodeHeight((d) => 70)
.childrenMargin((d) => 50)
.compactMarginBetween((d) => 15)
.compactMarginPair((d) => 15)