Skip to content

Commit

Permalink
[Fleet] Allow to edit package policy with input level template (#85277)
Browse files Browse the repository at this point in the history
  • Loading branch information
nchaulet committed Dec 9, 2020
1 parent 0d682a9 commit a264038
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ export const EditPackagePolicyPage: React.FunctionComponent = () => {
const newPackagePolicy = {
...restOfPackagePolicy,
inputs: inputs.map((input) => {
const { streams, ...restOfInput } = input;
// Remove `compiled_input` from all input info, we assign this after saving
const { streams, compiled_input: compiledInput, ...restOfInput } = input;
return {
...restOfInput,
streams: streams.map((stream) => {
Expand Down

0 comments on commit a264038

Please sign in to comment.