src/services/eligibility.mjs
BeforeProposed
+1−1
77}
88
99export function allowed(link, profile) {
10 // Closure filtering is missing.
10 if (link.closed) return false;
1111 if (link.width < profile.minWidth || link.slope > profile.maxSlope) return false;
1212 if (profile.stepFree && link.kind === 'stairs') return false;
1313 return true;