mirror of
https://github.com/PostHog/posthog.git
synced 2024-12-01 12:21:02 +01:00
fix: Events loading state and no-capture (#12282)
This commit is contained in:
parent
aabd22c8a4
commit
b1d8ecca3c
@ -133,7 +133,7 @@ export function SessionRecordingsPlaylist({ personUUID }: SessionRecordingsTable
|
||||
onClick={() => onRecordingClick(rec)}
|
||||
>
|
||||
<div className="flex justify-between items-center">
|
||||
<div className="truncate font-medium text-primary">
|
||||
<div className="truncate font-medium text-primary ph-no-capture">
|
||||
{asDisplay(rec.person, 25)}
|
||||
</div>
|
||||
{!rec.viewed && (
|
||||
|
@ -1,4 +1,5 @@
|
||||
.PlayerList {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background-color: var(--side);
|
||||
|
@ -60,7 +60,9 @@ export function PlayerList<T extends Record<string, any>>({
|
||||
const { data, showPositionFinder, isCurrent, isDirectionUp, expandedRows } = useValues(logic)
|
||||
const { setRenderedRows, setList, scrollTo, disablePositionFinder, handleRowClick, expandRow, collapseRow } =
|
||||
useActions(logic)
|
||||
const { sessionEventsDataLoading } = useValues(sessionRecordingDataLogic({ sessionRecordingId }))
|
||||
const { sessionEventsDataLoading, sessionPlayerMetaDataLoading } = useValues(
|
||||
sessionRecordingDataLogic({ sessionRecordingId, playerKey })
|
||||
)
|
||||
const { currentTeam } = useValues(teamLogic)
|
||||
const { updateCurrentTeam } = useActions(teamLogic)
|
||||
|
||||
@ -72,7 +74,7 @@ export function PlayerList<T extends Record<string, any>>({
|
||||
|
||||
return (
|
||||
<div className="PlayerList">
|
||||
{sessionEventsDataLoading ? (
|
||||
{sessionEventsDataLoading || sessionPlayerMetaDataLoading ? (
|
||||
<SpinnerOverlay />
|
||||
) : (
|
||||
<>
|
||||
|
Loading…
Reference in New Issue
Block a user