From 9cf0ea5395026120b392f2c571a2ec55f67bf2a4 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 (cherry picked from commit 0c1530c7a89ba3321a24567a28a511cd13a6c407) --- 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 c66803906f5..e1a4c40ac61 100644 --- a/public/app/features/plugins/plugin_loader.ts +++ b/public/app/features/plugins/plugin_loader.ts @@ -105,7 +105,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);