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 0c1530c7a8)
This commit is contained in:
Marcus Efraimsson
2019-05-15 11:53:35 +02:00
committed by Torkel Ödegaard
parent db37e138bf
commit 9cf0ea5395
+1 -1
View File
@@ -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);