diff --git a/public/app/features/query/components/QueryEditorRow.tsx b/public/app/features/query/components/QueryEditorRow.tsx index 3006dbb4ae1..8ba101449f9 100644 --- a/public/app/features/query/components/QueryEditorRow.tsx +++ b/public/app/features/query/components/QueryEditorRow.tsx @@ -327,22 +327,7 @@ export class QueryEditorRow extends PureComponent { const { queryRef } = this.props; - - if (!queryRef) { - return null; - } - - return ( - - ); + return ; }; renderExtraActions = () => { @@ -504,6 +489,27 @@ export class QueryEditorRow extends PureComponent + ); +} + /** * Get a version of the PanelData limited to the query we are looking at */