Transformations: Config overrides being lost when config from query transform is applied (#69720)

fix config overides being lost by transforms
This commit is contained in:
Ibrahim 2023-06-09 10:57:56 -04:00 committed by GitHub
parent ff3e028a85
commit a5b9eac88e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,6 +66,7 @@ export function extractConfigFromQuery(options: ConfigFromQueryTransformOptions,
const outputFrame: DataFrame = {
fields: [],
length: frame.length,
refId: frame.refId,
};
for (const field of frame.fields) {
@ -85,7 +86,6 @@ export function extractConfigFromQuery(options: ConfigFromQueryTransformOptions,
output.push(outputFrame);
}
return output;
}