Replies: 2 comments
-
Hey @mikemoooo, I attempted to recreate your issue, but I was unable to. Could you provide some more detail? Here are the steps I performed:
Are these similar to the steps you performed to get this issue? If you can provide a slimmed down version of your collection config to recreate, that would also be helpful. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@mikemoooo just checking in here for any possible reproduction steps as we can't reproduce the issue. I will convert this to a Discussion for now, and if we can replicate the issue, we will re-open accordingly. Thank you! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Bug Report
When updating the content of a page in another locale, I have had the issue that within a blocks container an empty object is added. This causes the layout blocks to start counting at 2 and prevents adding new block. When trying to save the console shows the error:
Uncaught TypeError: Cannot destructure property
'blockType' of as it is undefined.
The screenshot below shows the initial state after switching to the new locale.
The issue can be fixed by updating the mongodb and removing the empty object.
Expected Behavior
When no content is translated for the block component, the component should be empty.
Detailed Description
Payload version: 1.0.30
Beta Was this translation helpful? Give feedback.
All reactions