From 0c1530c7a89ba3321a24567a28a511cd13a6c407 Mon Sep 17 00:00:00 2001 From: Marcus Efraimsson Date: Thu, 9 May 2019 15:27:52 +0200 Subject: [PATCH] plugins: fix how datemath utils are exposed to plugins (#16976) Fixes a regression accidentally introduced by #16890 so that datemath utils are exposed to plugins in a backward-compatible way. Fixes #16962 --- public/app/features/plugins/plugin_loader.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/features/plugins/plugin_loader.ts b/public/app/features/plugins/plugin_loader.ts index 023757a9f82..2ee31a7b6aa 100644 --- a/public/app/features/plugins/plugin_loader.ts +++ b/public/app/features/plugins/plugin_loader.ts @@ -106,7 +106,7 @@ exposeToPlugin('app/core/services/backend_srv', { }); exposeToPlugin('app/plugins/sdk', sdk); -exposeToPlugin('@grafana/ui/src/utils/datemath', datemath); +exposeToPlugin('app/core/utils/datemath', datemath); exposeToPlugin('app/core/utils/file_export', fileExport); exposeToPlugin('app/core/utils/flatten', flatten); exposeToPlugin('app/core/utils/kbn', kbn);