mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-07-30 16:00:23 +00:00
Fix the status code in the summary section
This commit is contained in:
parent
11c233028b
commit
efde8ae359
@ -57,8 +57,8 @@ const HarEntrySummary: React.FC<any> = ({har}) => {
|
||||
const {response, request} = JSON.parse(entries[0].entry);
|
||||
|
||||
return <div className={classes.entrySummary}>
|
||||
{response?.payload && "status" in response.payload && <div style={{marginRight: 8}}>
|
||||
<StatusCode statusCode={response.payload.status}/>
|
||||
{response?.payload.details && "status" in response.payload.details && <div style={{marginRight: 8}}>
|
||||
<StatusCode statusCode={response.payload.details.status}/>
|
||||
</div>}
|
||||
<div style={{flexGrow: 1, overflow: 'hidden'}}>
|
||||
<EndpointPath method={request?.payload.method} path={request?.payload.url}/>
|
||||
|
Loading…
Reference in New Issue
Block a user