Explore: Hide support button (#78710)

Only show support button if there is a dashboard
pull/78744/head
Kristina 2 years ago committed by GitHub
parent a49e1ded8f
commit fc4b0faacd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      public/app/features/inspector/InspectJSONTab.tsx

@ -131,7 +131,7 @@ export function InspectJSONTab({ panel, dashboard, data, onClose }: Props) {
Apply
</Button>
)}
{show === ShowContent.DataFrames && (
{show === ShowContent.DataFrames && dashboard !== undefined && (
<Button className={styles.toolbarItem} onClick={onShowHelpWizard}>
Support
</Button>

Loading…
Cancel
Save