บรรจุไม่แสดงตำแหน่งสงวน

This commit is contained in:
Kittapath 2023-07-15 13:39:48 +07:00
parent d81d9bcf22
commit 836fb5a5fc

View file

@ -75,7 +75,7 @@ const loadTreeData = async () => {
}; };
function filterByPersonIdNull(obj: any) { function filterByPersonIdNull(obj: any) {
if (obj.name === null) { if (obj.name === null && obj.isCondition != true) {
return true; return true;
} }
if (obj.children && obj.children.length > 0) { if (obj.children && obj.children.length > 0) {