From 1115cbb722f6101e7ff631d1815f51b66bed4312 Mon Sep 17 00:00:00 2001 From: Jack Westbrook Date: Wed, 27 Mar 2024 19:28:58 +0100 Subject: [PATCH] refactor(frontend): fix tether-drop import path --- public/app/plugins/panel/graph/jquery.flot.events.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/public/app/plugins/panel/graph/jquery.flot.events.ts b/public/app/plugins/panel/graph/jquery.flot.events.ts index b0e296ef109..ba631e1b38e 100644 --- a/public/app/plugins/panel/graph/jquery.flot.events.ts +++ b/public/app/plugins/panel/graph/jquery.flot.events.ts @@ -4,8 +4,8 @@ import { partition, each } from 'lodash'; import { CreatePlotOverlay } from '@grafana/data'; import { getLegacyAngularInjector } from '@grafana/runtime'; -//@ts-ignore -import Drop from '../../../vendor/tether-drop'; +// @ts-ignore +import Drop from '../../../../vendor/tether-drop'; const createAnnotationToolip: CreatePlotOverlay = (element, event, plot) => { const injector = getLegacyAngularInjector(); @@ -27,6 +27,7 @@ const createAnnotationToolip: CreatePlotOverlay = (element, event, plot) => { tmpScope.$digest(); tmpScope.$destroy(); + // @ts-ignore const drop = new Drop({ target: element[0], content: content,