From 6ab2806f210d5d92540f23d08c1e80eba7cf1921 Mon Sep 17 00:00:00 2001 From: Haris Rozajac Date: Wed, 14 Jan 2026 16:06:13 -0700 Subject: [PATCH] cleanup --- .../manage-dashboards/components/ImportDashboardOverview.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/public/app/features/manage-dashboards/components/ImportDashboardOverview.tsx b/public/app/features/manage-dashboards/components/ImportDashboardOverview.tsx index 6473b0475a1..bf9145f9d57 100644 --- a/public/app/features/manage-dashboards/components/ImportDashboardOverview.tsx +++ b/public/app/features/manage-dashboards/components/ImportDashboardOverview.tsx @@ -61,8 +61,7 @@ class ImportDashboardOverviewUnConnected extends PureComponent { // when kubernetesDashboard are enabled, we bypass api/dashboard/import // and hit the k8s dashboard API directly if (config.featureToggles.kubernetesDashboards) { - // 1. process datasources so the template placeholder is replaced with the actual value user selected - + // process datasources so the template placeholder is replaced with the actual value user selected const annotations = dashboard.annotations.list.map((annotation: AnnotationQuery) => { return processAnnotation(annotation, inputs, form); }); @@ -116,7 +115,6 @@ class ImportDashboardOverviewUnConnected extends PureComponent { }, }; - // hit v1 API directly const result = await getDashboardAPI('v1').saveDashboard(dashboardK8SPayload); if (result.url) {