fix non business where unit is more than one

This commit is contained in:
arifal
2025-08-19 19:02:54 +07:00
parent 1b084ed485
commit 1bcd2023da
3 changed files with 168 additions and 37 deletions

View File

@@ -535,14 +535,16 @@ class BigData {
});
}
initChartNonBusinessDLH() {
document.querySelectorAll("#business-dlh-count").forEach((element) => {
const count = this.safeGet(
this.resumeBigData,
"business_dlh_count",
0
);
element.innerText = `${count}`;
});
document
.querySelectorAll("#non-business-dlh-count")
.forEach((element) => {
const count = this.safeGet(
this.resumeBigData,
"business_dlh_count",
0
);
element.innerText = `${count}`;
});
}
}