Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
silesky committed Nov 17, 2023
1 parent 4ad6633 commit 5a381aa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const segmentShouldBeDisabled = (
return false
}

// disable if _all_ of the the consented categories are _not_ in allCategories
// disable if _all_ of the the consented categories are irrelevant to segment
return Object.keys(consentCategories)
.filter((c) => consentCategories[c])
.every((c) => !consentSettings.allCategories.includes(c))
Expand Down

0 comments on commit 5a381aa

Please sign in to comment.