diff --git a/packages/kbn-lens-embeddable-utils/config_builder/utils.ts b/packages/kbn-lens-embeddable-utils/config_builder/utils.ts index 6f6be44c9c8bc..2dcb4205f9610 100644 --- a/packages/kbn-lens-embeddable-utils/config_builder/utils.ts +++ b/packages/kbn-lens-embeddable-utils/config_builder/utils.ts @@ -88,7 +88,7 @@ export function buildReferences(dataviews: Record) { const getAdhocDataView = (dataView: DataView): Record => { return { [dataView.id ?? uuidv4()]: { - ...dataView.toSpec(), + ...dataView.toSpec(false), }, }; };