From fc4b0faacd5dd2cfc8e03b488944e17751f860b2 Mon Sep 17 00:00:00 2001 From: Kristina Date: Tue, 28 Nov 2023 07:30:58 -0600 Subject: [PATCH] Explore: Hide support button (#78710) Only show support button if there is a dashboard --- public/app/features/inspector/InspectJSONTab.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/features/inspector/InspectJSONTab.tsx b/public/app/features/inspector/InspectJSONTab.tsx index ed58db146eb..ecb5232b5c9 100644 --- a/public/app/features/inspector/InspectJSONTab.tsx +++ b/public/app/features/inspector/InspectJSONTab.tsx @@ -131,7 +131,7 @@ export function InspectJSONTab({ panel, dashboard, data, onClose }: Props) { Apply )} - {show === ShowContent.DataFrames && ( + {show === ShowContent.DataFrames && dashboard !== undefined && (