Open wndrflgrc opened 4 months ago
The filteredBranch function is just for filtering the branches and the priorityBranches is for rendering the Active branches or departments first and the inactive ones will be at the bottom https://github.com/DOWINN-INTERN/employee-record-system-frontend/blob/68684786a2d7d55675903539d4b71f339cd1084c/main/src/pages/Organization/Branch/BranchBody.tsx#L21-L33
The filteredBranch function is just for filtering the branches and the priorityBranches is for rendering the Active branches or departments first and the inactive ones will be at the bottom https://github.com/DOWINN-INTERN/employee-record-system-frontend/blob/68684786a2d7d55675903539d4b71f339cd1084c/main/src/pages/Organization/Branch/BranchBody.tsx#L21-L33