From 65a655cfc9f4899711f1d09b18f15d2e57940955 Mon Sep 17 00:00:00 2001 From: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com> Date: Wed, 3 Jan 2024 13:30:17 +0100 Subject: [PATCH] Chore: Remove gf-form in DashboardLinks (#79762) --- .betterer.results | 3 --- .../features/dashboard/components/SubMenu/DashboardLinks.tsx | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.betterer.results b/.betterer.results index caec6e2ab30..dcd48b102ef 100644 --- a/.betterer.results +++ b/.betterer.results @@ -7124,9 +7124,6 @@ exports[`no gf-form usage`] = { [0, 0, 0, "gf-form usage has been deprecated. Use a component from @grafana/ui or custom CSS instead.", "5381"], [0, 0, 0, "gf-form usage has been deprecated. Use a component from @grafana/ui or custom CSS instead.", "5381"] ], - "public/app/features/dashboard/components/SubMenu/DashboardLinks.tsx:5381": [ - [0, 0, 0, "gf-form usage has been deprecated. Use a component from @grafana/ui or custom CSS instead.", "5381"] - ], "public/app/features/dashboard/components/SubMenu/SubMenuItems.tsx:5381": [ [0, 0, 0, "gf-form usage has been deprecated. Use a component from @grafana/ui or custom CSS instead.", "5381"] ], diff --git a/public/app/features/dashboard/components/SubMenu/DashboardLinks.tsx b/public/app/features/dashboard/components/SubMenu/DashboardLinks.tsx index dcd270521c0..8950c4268ed 100644 --- a/public/app/features/dashboard/components/SubMenu/DashboardLinks.tsx +++ b/public/app/features/dashboard/components/SubMenu/DashboardLinks.tsx @@ -55,7 +55,7 @@ export const DashboardLinks = ({ dashboard, links }: Props) => { ); return ( -
+
{link.tooltip ? {linkElement} : linkElement}
);