From 87375f570d9b0b2717211cbd28d1c098e9b02326 Mon Sep 17 00:00:00 2001 From: Adam Simpson Date: Mon, 29 Aug 2022 09:49:58 -0400 Subject: [PATCH] QueryEditorRow: filter data on mount (#54260) This works correctly on initial dashboard load. However, when an action is taken that triggers a "re-mount", e.g. opening the options pane on the right side of the page, the `data` prop becomes undefined. --- public/app/features/query/components/QueryEditorRow.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/public/app/features/query/components/QueryEditorRow.tsx b/public/app/features/query/components/QueryEditorRow.tsx index 3229f5de665..360c2ffa24c 100644 --- a/public/app/features/query/components/QueryEditorRow.tsx +++ b/public/app/features/query/components/QueryEditorRow.tsx @@ -82,6 +82,10 @@ export class QueryEditorRow extends PureComponent