diff --git a/frontend/src/scenes/session-recordings/playlist/SessionRecordingPreview.tsx b/frontend/src/scenes/session-recordings/playlist/SessionRecordingPreview.tsx index 7812227426534..19350d0ab4b8d 100644 --- a/frontend/src/scenes/session-recordings/playlist/SessionRecordingPreview.tsx +++ b/frontend/src/scenes/session-recordings/playlist/SessionRecordingPreview.tsx @@ -51,8 +51,9 @@ function RecordingDuration({ recordingDuration }: { recordingDuration: number | return (
{hours != '00' && {hours}:} - {minutes != '00' && {minutes}:} - {seconds} + + {minutes}:{seconds} +
) } @@ -164,12 +165,12 @@ function PinnedIndicator(): JSX.Element | null { ) } -function ViewedIndicator({ viewed }: { viewed: boolean }): JSX.Element | null { - return !viewed ? ( +function ViewedIndicator(): JSX.Element { + return ( -
+
- ) : null + ) } function durationToShow(recording: SessionRecordingType, durationType: DurationType | undefined): number | undefined { @@ -200,7 +201,7 @@ export function SessionRecordingPreview({
onClick?.()} @@ -239,8 +240,8 @@ export function SessionRecordingPreview({
-
- +
+ {!recording.viewed ? : null} {pinned ? : null}