From a40946b6aa872d51820bc8ff14e166c5ff95d6ec Mon Sep 17 00:00:00 2001 From: Andrej Ocenas Date: Mon, 10 May 2021 20:25:30 +0200 Subject: [PATCH] Explore: Wrap each panel in separate error boundary (#33868) --- public/app/features/explore/Explore.tsx | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/public/app/features/explore/Explore.tsx b/public/app/features/explore/Explore.tsx index 590a5f645e2..d5f8bed7498 100644 --- a/public/app/features/explore/Explore.tsx +++ b/public/app/features/explore/Explore.tsx @@ -348,11 +348,13 @@ export class Explore extends React.PureComponent { {showPanels && ( <> - {showMetrics && graphResult && this.renderGraphPanel(width)} - {showTable && this.renderTablePanel(width)} - {showLogs && this.renderLogsPanel(width)} - {showNodeGraph && this.renderNodeGraphPanel()} - {showTrace && this.renderTraceViewPanel()} + {showMetrics && graphResult && ( + {this.renderGraphPanel(width)} + )} + {showTable && {this.renderTablePanel(width)}} + {showLogs && {this.renderLogsPanel(width)}} + {showNodeGraph && {this.renderNodeGraphPanel()}} + {showTrace && {this.renderTraceViewPanel()}} )} {showRichHistory && (