:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(replay): country icon not fetching sometimes (#57599)
Hayne Ryub42cd31a9815
diff --git a/frontend/src/scenes/session-recordings/player/player-meta/playerMetaLogic.tsx b/frontend/src/scenes/session-recordings/player/player-meta/playerMetaLogic.tsxindex a6d80978931c..c8bf06f0c5b6 100644--- a/frontend/src/scenes/session-recordings/player/player-meta/playerMetaLogic.tsx+++ b/frontend/src/scenes/session-recordings/player/player-meta/playerMetaLogic.tsx@@ -113,7 +113,7 @@ export const playerMetaLogic = kea<playerMetaLogicType>([sessionRecordingPlayerLogic(props),['scale', 'currentTimestamp', 'currentPlayerTime', 'currentSegment', 'currentURL', 'resolution'],sessionRecordingsListPropertiesLogic,- ['recordingPropertiesById'],+ ['recordingPropertiesById', 'recordingPropertiesLoading'],sessionRecordingPinnedPropertiesLogic,['pinnedProperties'],sessionSummaryProgressLogic,@@ -462,7 +462,8 @@ export const playerMetaLogic = kea<playerMetaLogicType>([})),listeners(({ actions, values, props }) => ({loadRecordingMetaSuccess: () => {- if (values.sessionPlayerMetaData) {+ // Skip if the list-wide fetch is in flight; calling again cancels it via breakpoint.+ if (values.sessionPlayerMetaData && !values.recordingPropertiesLoading) {actions.maybeLoadPropertiesForSessions([values.sessionPlayerMetaData])}if (values.sessionPlayerMetaData?.has_summary && !values.sessionSummary && !values.sessionSummaryLoading) {