From ae73dee220adec51cfbd21d5f0ab46cd8cb2579a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Tue, 1 Apr 2025 17:11:39 +0200 Subject: [PATCH] Dashboard: Fixes open panel edit button (#103169) * Dashboard: Fixes open panel edit button * fix imports --- .../dashboard-scene/edit-pane/VizPanelEditableElement.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/public/app/features/dashboard-scene/edit-pane/VizPanelEditableElement.tsx b/public/app/features/dashboard-scene/edit-pane/VizPanelEditableElement.tsx index 70caad547be..0f88658da85 100644 --- a/public/app/features/dashboard-scene/edit-pane/VizPanelEditableElement.tsx +++ b/public/app/features/dashboard-scene/edit-pane/VizPanelEditableElement.tsx @@ -17,7 +17,6 @@ import { BulkActionElement } from '../scene/types/BulkActionElement'; import { isDashboardLayoutItem } from '../scene/types/DashboardLayoutItem'; import { EditableDashboardElement, EditableDashboardElementInfo } from '../scene/types/EditableDashboardElement'; import { dashboardSceneGraph } from '../utils/dashboardSceneGraph'; -import { getEditPanelUrl } from '../utils/urlBuilders'; import { getDashboardSceneFor, getPanelIdForVizPanel } from '../utils/utils'; import { MultiSelectedVizPanelsEditableElement } from './MultiSelectedVizPanelsEditableElement'; @@ -114,7 +113,7 @@ const OpenPanelEditViz = ({ panel }: OpenPanelEditVizProps) => {