Skip to content

Commit

Permalink
fix: read waiting_list from right data structure (#835)
Browse files Browse the repository at this point in the history
  • Loading branch information
cekk authored Dec 20, 2024
1 parent ca79465 commit 07617a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/customizations/volto-form-block/components/View.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ const View = ({ data, id, path }) => {

useEffect(() => {
if (submitResults?.loaded) {
if (submitResults?.result?.data?.waiting_list) {
if (submitResults?.result?.waiting_list) {
setFormState({
type: FORM_STATES.warning,
result: {
Expand Down

0 comments on commit 07617a2

Please sign in to comment.