diff --git a/public/app/features/alerting/unified/components/rule-editor/QueryWrapper.tsx b/public/app/features/alerting/unified/components/rule-editor/QueryWrapper.tsx index f0695f0cc15..be09fb6b12d 100644 --- a/public/app/features/alerting/unified/components/rule-editor/QueryWrapper.tsx +++ b/public/app/features/alerting/unified/components/rule-editor/QueryWrapper.tsx @@ -79,7 +79,7 @@ export const QueryWrapper: FC = ({ query={cloneDeep(query.model)} onChange={(query) => onChangeQuery(query, index)} onRemoveQuery={onRemoveQuery} - onAddQuery={onDuplicateQuery} + onAddQuery={() => onDuplicateQuery(cloneDeep(query))} onRunQuery={onRunQueries} queries={queries} renderHeaderExtras={() => renderTimePicker(query, index)}