Explore: Hide support button (#78710)

Only show support button if there is a dashboard
This commit is contained in:
Kristina
2023-11-28 07:30:58 -06:00
committed by GitHub
parent a49e1ded8f
commit fc4b0faacd
@@ -131,7 +131,7 @@ export function InspectJSONTab({ panel, dashboard, data, onClose }: Props) {
Apply Apply
</Button> </Button>
)} )}
{show === ShowContent.DataFrames && ( {show === ShowContent.DataFrames && dashboard !== undefined && (
<Button className={styles.toolbarItem} onClick={onShowHelpWizard}> <Button className={styles.toolbarItem} onClick={onShowHelpWizard}>
Support Support
</Button> </Button>