Skip to content

Commit b1fadf9

Browse files
committed
fix: resolve pr review comments
Signed-off-by: Yeganathan S <63534555+skwowet@users.noreply.github.com>
1 parent ef0299d commit b1fadf9

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

services/libs/common_services/src/services/member-organization.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,7 @@ export function inferMemberOrganizationStintChanges(
217217
const overlapEnd = s.dateEnd < gapEnd ? s.dateEnd : gapEnd
218218
if (overlapStart >= overlapEnd) return false
219219

220-
// Pre-existing orgs that wrap the neighbor naturally have gap presence just by existing,
221-
// so require 90d (vs 30d) of exclusive gap overlap to count as a real career break.
220+
// Wrapping orgs were already concurrent, so need >90d (vs >30d) to separate
222221
const isUmbrella = s.dateStart <= neighbor.dateStart && s.dateEnd >= neighbor.dateEnd
223222
const threshold = isUmbrella ? 90 : 30
224223

0 commit comments

Comments
 (0)