Skip to content

Commit

Permalink
Fix missing type error
Browse files Browse the repository at this point in the history
  • Loading branch information
cqliu1 committed Oct 25, 2021
1 parent c68acf8 commit 7125b53
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export function embeddableFunctionFactory({
} else {
// injects references for by-value embeddables
const { type, ...injectedInput } = embeddablePersistableStateService.inject(
input,
{ ...input, type: state.type[0] },
references
);
state.config[0] = encode(injectedInput);
Expand Down

0 comments on commit 7125b53

Please sign in to comment.