fix: fill field_settings on creating linked view
Bring projects, wikis, and teams together with AI.
Brought to you by:
appflowy
Originally created by: zoli
You will see that the cards are empty and if you click on the card it throws an error.
The problem is the field_settings in field_infos are empty. The root cause is that on creating linked view it doesn't add fields settings from the view we are linking to.
I fixed this by getting field settings from the parent view (the one we are linking new view) and adding it to the new view that is getting created.