Skip to content

Conversation

@zacharytyhacz
Copy link

This fixes this bug that crashes page:
image

I think it's because some data is coming from the store therefore the data is not able to directly edited ( but, other data was able to be updated, so maybe not that )

The code I added:

      data = Object.assign({}, data)

Removes the object reference, allowing data.relationship = to be set without throwing any errors

@giorgiofellipe giorgiofellipe merged commit 617b7e8 into giorgiofellipe:master Aug 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants