diff --git a/frontend/console/src/features/modules/decls/verb/VerbPage.tsx b/frontend/console/src/features/modules/decls/verb/VerbPage.tsx index d5d6e09dfd..7cad89a5f6 100644 --- a/frontend/console/src/features/modules/decls/verb/VerbPage.tsx +++ b/frontend/console/src/features/modules/decls/verb/VerbPage.tsx @@ -63,7 +63,7 @@ export const VerbPage = ({ moduleName, declName }: { moduleName: string; declNam
} + mainContent={} rightPanelHeader={header} rightPanelPanels={verbPanels(verb, callers)} bottomPanelContent={} diff --git a/frontend/console/src/features/modules/decls/verb/verb.utils.ts b/frontend/console/src/features/modules/decls/verb/verb.utils.ts index d02c77e88f..6a9e1b1b26 100644 --- a/frontend/console/src/features/modules/decls/verb/verb.utils.ts +++ b/frontend/console/src/features/modules/decls/verb/verb.utils.ts @@ -72,7 +72,7 @@ export const defaultRequest = (verb?: Verb): string => { if (!verb.jsonRequestSchema) { const defaultValue = verb.verb?.request ? defaultForType(verb.verb.request) : null - return defaultValue ? JSON.stringify(defaultValue, null, 2) : '{}' + return defaultValue !== null ? JSON.stringify(defaultValue, null, 2) : '{}' } const schema = simpleJsonSchema(verb) diff --git a/frontend/console/src/features/timeline/details/TimelineCallDetails.tsx b/frontend/console/src/features/timeline/details/TimelineCallDetails.tsx index 3c0d933710..3a46ee2fdf 100644 --- a/frontend/console/src/features/timeline/details/TimelineCallDetails.tsx +++ b/frontend/console/src/features/timeline/details/TimelineCallDetails.tsx @@ -18,12 +18,12 @@ export const TimelineCallDetails = ({ event }: { event: Event }) => {
Request
- + {call.response !== 'null' && ( <>
Response
- + )} diff --git a/frontend/console/src/features/traces/TraceGraph.tsx b/frontend/console/src/features/traces/TraceGraph.tsx index d693f2c4d2..b0ede9f07a 100644 --- a/frontend/console/src/features/traces/TraceGraph.tsx +++ b/frontend/console/src/features/traces/TraceGraph.tsx @@ -83,7 +83,6 @@ export const TraceGraph = ({ requestKey, selectedEventId }: { requestKey?: strin const startTime = requestStartTime(events) const totalEventDuration = totalDurationForRequest(events) - console.log(events) return (
{events.map((c, index) => (