Przeglądaj źródła

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
Marcus Efraimsson 6 lat temu
rodzic
commit
0c1530c7a8
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      public/app/features/plugins/plugin_loader.ts

+ 1 - 1
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);