mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Explore: Wrap each panel in separate error boundary (#33868)
This commit is contained in:
parent
d1c557e978
commit
a40946b6aa
@ -348,11 +348,13 @@ export class Explore extends React.PureComponent<ExploreProps, ExploreState> {
|
||||
<ErrorBoundaryAlert>
|
||||
{showPanels && (
|
||||
<>
|
||||
{showMetrics && graphResult && this.renderGraphPanel(width)}
|
||||
{showTable && this.renderTablePanel(width)}
|
||||
{showLogs && this.renderLogsPanel(width)}
|
||||
{showNodeGraph && this.renderNodeGraphPanel()}
|
||||
{showTrace && this.renderTraceViewPanel()}
|
||||
{showMetrics && graphResult && (
|
||||
<ErrorBoundaryAlert>{this.renderGraphPanel(width)}</ErrorBoundaryAlert>
|
||||
)}
|
||||
{showTable && <ErrorBoundaryAlert>{this.renderTablePanel(width)}</ErrorBoundaryAlert>}
|
||||
{showLogs && <ErrorBoundaryAlert>{this.renderLogsPanel(width)}</ErrorBoundaryAlert>}
|
||||
{showNodeGraph && <ErrorBoundaryAlert>{this.renderNodeGraphPanel()}</ErrorBoundaryAlert>}
|
||||
{showTrace && <ErrorBoundaryAlert>{this.renderTraceViewPanel()}</ErrorBoundaryAlert>}
|
||||
</>
|
||||
)}
|
||||
{showRichHistory && (
|
||||
|
Loading…
Reference in New Issue
Block a user