AppEvents: export appEvents in @grafana/runtime and support copy panel (#40715)

This commit is contained in:
Ryan McKinley
2021-10-20 13:01:21 -07:00
committed by GitHub
parent b60ae7ebed
commit ad69de4a10
18 changed files with 85 additions and 39 deletions

View File

@@ -11,6 +11,7 @@ import {
setLegacyAngularInjector,
setLocationSrv,
locationService,
setAppEvents,
} from '@grafana/runtime';
import config from 'app/core/config';
import coreModule from 'app/core/core_module';
@@ -56,6 +57,7 @@ export class GrafanaCtrl {
datasourceSrv.init(config.datasources, config.defaultDatasource);
setLocationSrv(locationService);
setAppEvents(appEvents);
initGrafanaLive();