Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldambra committed Oct 19, 2023
1 parent 6174109 commit 0f30d39
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,15 +136,16 @@ export function SessionRecordingSettings({ inModal = false }: SessionRecordingSe
},
]}
value={
(currentTeam?.session_recording_sample_rate === undefined
? '1.00'
: currentTeam?.session_recording_sample_rate) as SampleRate
(typeof currentTeam?.session_recording_sample_rate === 'string'
? currentTeam?.session_recording_sample_rate
: '1.00') as SampleRate
}
/>
</div>
<p>
Use this setting to restrict the percentage of sessions that will be recorded. This is useful if
you want to reduce the amount of data you collect.
you want to reduce the amount of data you collect. 100% means all sessions will be collected.
50% means roughly half of sessions will be collected.
</p>
</>
</FlaggedFeature>
Expand Down

0 comments on commit 0f30d39

Please sign in to comment.