Skip to content

Commit

Permalink
Add missing onChangeField to make it work with Metadata section block…
Browse files Browse the repository at this point in the history
… - refs #137434
  • Loading branch information
avoinea committed Sep 10, 2021
1 parent 1e4d3dc commit 5253b74
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/manage/Blocks/Accordion/Edit.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const Edit = (props) => {
block,
data,
onChangeBlock,
onChangeField,
pathname,
selected,
manage,
Expand Down Expand Up @@ -181,6 +182,8 @@ const Edit = (props) => {
},
},
});
} else {
onChangeField(id, value);
}
}}
pathname={pathname}
Expand Down

0 comments on commit 5253b74

Please sign in to comment.