Skip to content

Commit

Permalink
fix(replay): Fix displaying Response headers in Network tab (#54463)
Browse files Browse the repository at this point in the history
We were rendering request headers twice
  • Loading branch information
billyvg authored Aug 9, 2023
1 parent 162b89c commit 6ba95b8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export function ResponseHeadersSection({item}: SectionProps) {
const data = isRequestFrame(item) ? item.data : {};
return (
<SectionItem title={t('Response Headers')}>
{keyValueTableOrNotFound(data.request?.headers, t('Headers not captured'))}
{keyValueTableOrNotFound(data.response?.headers, t('Headers not captured'))}
</SectionItem>
);
}
Expand Down

0 comments on commit 6ba95b8

Please sign in to comment.