From 7130af7fd29d98838a66e69d9dc42d6e4ef94627 Mon Sep 17 00:00:00 2001 From: Michal Kralik Date: Wed, 9 Nov 2022 11:12:28 +0100 Subject: [PATCH] vmui: show tracing in json view (#3316) * vmui: show tracing in json view * vmui: refactor tracing view --- .../src/components/CustomPanel/CustomPanel.tsx | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/app/vmui/packages/vmui/src/components/CustomPanel/CustomPanel.tsx b/app/vmui/packages/vmui/src/components/CustomPanel/CustomPanel.tsx index e1afb9e20..69656f490 100644 --- a/app/vmui/packages/vmui/src/components/CustomPanel/CustomPanel.tsx +++ b/app/vmui/packages/vmui/src/components/CustomPanel/CustomPanel.tsx @@ -86,22 +86,16 @@ const CustomPanel: FC = () => { {error && {error}} {warning && {warning}} + {isTracingEnabled && } {graphData && period && (displayType === "chart") && <> - {isTracingEnabled && } } {liveData && (displayType === "code") && } - {liveData && (displayType === "table") && <> - {isTracingEnabled && } - - } + {liveData && (displayType === "table") && } }