Explore: Hide support button (#78710)
Only show support button if there is a dashboard
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user