mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
PanelEvents: Isolate more for old angular query editors (#30379)
This commit is contained in:
@@ -14,12 +14,10 @@ import {
|
||||
fieldColorModeRegistry,
|
||||
FieldConfigProperty,
|
||||
FieldConfigSource,
|
||||
PanelEvents,
|
||||
PanelPlugin,
|
||||
ScopedVars,
|
||||
ThresholdsConfig,
|
||||
ThresholdsMode,
|
||||
EventBusExtended,
|
||||
EventBusSrv,
|
||||
DataFrameDTO,
|
||||
urlUtil,
|
||||
@@ -154,7 +152,7 @@ export class PanelModel implements DataConfigSource {
|
||||
isInView: boolean;
|
||||
|
||||
hasRefreshed: boolean;
|
||||
events: EventBusExtended;
|
||||
events: EventBusSrv;
|
||||
cacheTimeout?: any;
|
||||
cachedPluginOptions?: any;
|
||||
legend?: { show: boolean; sort?: string; sortDesc?: boolean };
|
||||
@@ -479,7 +477,6 @@ export class PanelModel implements DataConfigSource {
|
||||
}
|
||||
|
||||
destroy() {
|
||||
this.events.emit(PanelEvents.panelTeardown);
|
||||
this.events.removeAllListeners();
|
||||
|
||||
if (this.queryRunner) {
|
||||
|
||||
Reference in New Issue
Block a user