We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee47067 commit b68991aCopy full SHA for b68991a
src/sync/polling/updaters/splitChangesUpdater.ts
@@ -33,7 +33,7 @@ export function parseSegments(ruleEntity: ISplit | IRBSegment, matcherType: type
33
const { conditions = [], excluded } = ruleEntity as IRBSegment;
34
35
const segments = new Set<string>(
36
- excluded?.segments?.map(segment => segment.name) || []
+ excluded && excluded.segments ? excluded.segments.map(segment => segment.name) : []
37
);
38
39
for (let i = 0; i < conditions.length; i++) {
0 commit comments