Prometheus: Fixed Prometheus query editor error (plus new ErrorBoundaryAlert component) (#18838)

* ErrorHandling: Fixed Prometheus query editor error and added error boundary

* Update public/app/core/components/ErrorBoundary/ErrorBoundary.tsx

Co-Authored-By: kay delaney <45561153+kaydelaney@users.noreply.github.com>

* Fixed ts error
This commit is contained in:
Torkel Ödegaard
2019-09-02 20:45:18 +02:00
committed by GitHub
parent 29ff8e6018
commit fe658d7ac2
9 changed files with 56 additions and 17 deletions

View File

@@ -5,7 +5,7 @@ import { Unsubscribable } from 'rxjs';
// Components
import { PanelHeader } from './PanelHeader/PanelHeader';
import ErrorBoundary from 'app/core/components/ErrorBoundary/ErrorBoundary';
import { ErrorBoundary } from 'app/core/components/ErrorBoundary/ErrorBoundary';
// Utils & Services
import { getTimeSrv, TimeSrv } from '../services/TimeSrv';