Dashboard: Remove tooltip on Add button (#65619)

nested react-popper-tooltip kills functionality for the inner tooltip
This commit is contained in:
Polina Boneva 2023-03-30 16:57:18 +03:00 committed by GitHub
parent d790cb1c09
commit df946ca5eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,6 @@ import React, { useState } from 'react';
import { GrafanaTheme2 } from '@grafana/data';
import { Dropdown, Button, useTheme2, Icon } from '@grafana/ui';
import { t } from 'app/core/internationalization';
import { DashboardModel } from 'app/features/dashboard/state';
import { AddPanelMenu } from './AddPanelMenu';
@ -24,7 +23,6 @@ export const AddPanelButton = ({ dashboard }: Props) => {
onVisibleChange={setIsMenuOpen}
>
<Button
tooltip={t('dashboard.toolbar.add-panel', 'Add panel')}
icon="panel-add"
size="lg"
fill="outline"