We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 974d9a6 + ff5dc32 commit c68835aCopy full SHA for c68835a
src/client/components/display/ResponseEventsDisplay.jsx
@@ -22,9 +22,16 @@ const ResponseEventsDisplay = ({ response }) => {
22
}
23
else if (events && events.length > 1) {
24
if (events) {
25
+ let resEvents = '';
26
+ let eventJSON;
27
+ for (const event of events) {
28
+ eventJSON = JSON.stringify(event, null, 4);
29
+ resEvents = `${resEvents}
30
+${eventJSON}`
31
+ }
32
displayContents.push(
33
<div className="json-response" key="jsonresponsediv">
- <JSONPretty data={events} space="4" theme={{
34
+ <JSONPretty data={resEvents} space="4" theme={{
35
main: 'line-height:1.3; color: midnightblue; background:#RRGGBB; overflow:auto;',
36
key: 'color:#0089D0;', // bluetwo
37
string: 'color:#15B78F;',// greenone
0 commit comments