diff --git a/frontend/app/components/Session_/Fetch/FetchDetails.js b/frontend/app/components/Session_/Fetch/FetchDetails.js index 79834d4a4..b7a5386a1 100644 --- a/frontend/app/components/Session_/Fetch/FetchDetails.js +++ b/frontend/app/components/Session_/Fetch/FetchDetails.js @@ -26,12 +26,14 @@ export default class FetchDetails extends React.PureComponent { try { jsonPayload = typeof payload === 'string' ? JSON.parse(payload) : payload requestHeaders = jsonPayload.headers + jsonPayload.body = typeof jsonPayload.body === 'string' ? JSON.parse(jsonPayload.body) : jsonPayload.body delete jsonPayload.headers } catch (e) {} try { jsonResponse = typeof response === 'string' ? JSON.parse(response) : response; responseHeaders = jsonResponse.headers + jsonResponse.body = typeof jsonResponse.body === 'string' ? JSON.parse(jsonResponse.body) : jsonResponse.body delete jsonResponse.headers } catch (e) {} diff --git a/frontend/app/components/Session_/Fetch/components/Headers/Headers.tsx b/frontend/app/components/Session_/Fetch/components/Headers/Headers.tsx index 812c1b161..6a75afc4b 100644 --- a/frontend/app/components/Session_/Fetch/components/Headers/Headers.tsx +++ b/frontend/app/components/Session_/Fetch/components/Headers/Headers.tsx @@ -1,5 +1,5 @@ import React from 'react' -import { NoContent } from 'UI' +import { NoContent, TextEllipsis } from 'UI' import stl from './headers.css' function Headers(props) { @@ -19,7 +19,9 @@ function Headers(props) { Object.keys(props.requestHeaders).map(h => (