mirror of
https://github.com/grafana/grafana.git
synced 2024-11-26 02:40:26 -06:00
feat(inspector): minor fix for inspector making the error not clear when having dashboard refresh, fixes #3938
This commit is contained in:
parent
68a5fb66ff
commit
5588e7597c
@ -2,6 +2,7 @@
|
||||
|
||||
import config from 'app/core/config';
|
||||
import _ from 'lodash';
|
||||
import angular from 'angular';
|
||||
|
||||
export class PanelCtrl {
|
||||
panel: any;
|
||||
@ -177,7 +178,7 @@ export class PanelCtrl {
|
||||
var modalScope = this.$scope.$new();
|
||||
modalScope.panel = this.panel;
|
||||
modalScope.dashboard = this.dashboard;
|
||||
modalScope.inspector = this.inspector;
|
||||
modalScope.inspector = angular.copy(this.inspector);
|
||||
|
||||
this.publishAppEvent('show-modal', {
|
||||
src: 'public/app/partials/inspector.html',
|
||||
|
Loading…
Reference in New Issue
Block a user