Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Juraj Majerik <[email protected]>
  • Loading branch information
Phanatic and jurajmajerik authored Jul 1, 2024
1 parent 91f3453 commit fa48002
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions frontend/src/scenes/surveys/surveyLogic.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -882,12 +882,7 @@ export const surveyLogic = kea<surveyLogicType>([
surveyRepeatedActivationAvailable: [
(s) => [s.survey],
(survey: Survey): boolean =>
!!(
survey.conditions &&
survey.conditions?.events &&
survey.conditions?.events?.values &&
survey.conditions?.events?.values.length > 0
),
!!(survey.conditions?.events?.values?.length > 0),
],
hasTargetingSet: [
(s) => [s.survey],
Expand Down

0 comments on commit fa48002

Please sign in to comment.