refactor(frontend): fix tether-drop import path

This commit is contained in:
Jack Westbrook
2025-03-03 09:44:17 +01:00
parent 1fd1bb5dff
commit 1115cbb722
@@ -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,