Alerting: Fix the "Run queries" button to preview queries (#79252)

Fix the "Run queries" button to preview queries
pull/79255/head
Virginia Cepeda 1 year ago committed by GitHub
parent 2be7605794
commit c995e5e839
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      public/app/features/alerting/unified/components/rule-editor/query-and-alert-condition/QueryAndExpressionsStep.tsx

@ -446,7 +446,7 @@ export const QueryAndExpressionsStep = ({ editingExistingRule, onDataChange }: P
<QueryEditor
queries={dataQueries}
expressions={expressionQueries}
onRunQueries={runQueriesPreview}
onRunQueries={() => runQueriesPreview()}
onChangeQueries={onChangeQueries}
onDuplicateQuery={onDuplicateQuery}
panelData={queryPreviewData}

Loading…
Cancel
Save