diff --git a/frontend/app/components/Client/Sites/Sites.tsx b/frontend/app/components/Client/Sites/Sites.tsx index c59fa2405..4692419bb 100644 --- a/frontend/app/components/Client/Sites/Sites.tsx +++ b/frontend/app/components/Client/Sites/Sites.tsx @@ -173,6 +173,7 @@ const Sites = ({ loading, sites, user, init }: PropsFromRedux) => { setShowCaptureRate={setShowCaptureRate} showCaptureRate={showCaptureRate} projectId={activeProject?.id} + isMobile={activeProject?.platform !== 'web'} open={showCaptureRate && !!activeProject} /> diff --git a/frontend/app/components/shared/ConditionSet/ConditionSet.tsx b/frontend/app/components/shared/ConditionSet/ConditionSet.tsx index 341c62b31..098b9ac0c 100644 --- a/frontend/app/components/shared/ConditionSet/ConditionSet.tsx +++ b/frontend/app/components/shared/ConditionSet/ConditionSet.tsx @@ -23,6 +23,7 @@ interface Props { onChangeEventsOrder: (_: any, { name, value }: any) => void; isConditional?: boolean; changeName: (name: string) => void; + isMobile?: boolean; } function ConditionSetComponent({ @@ -40,6 +41,7 @@ function ConditionSetComponent({ onRemoveFilter, onChangeEventsOrder, isConditional, + isMobile, changeName, }: Props) { return ( @@ -97,6 +99,7 @@ function ConditionSetComponent({ filter={undefined} onFilterClick={onAddFilter} excludeFilterKeys={excludeFilterKeys} + isMobile={isMobile} >