If adding an element to the data model of a type the second time we get this error:
Error: Node with pointer #/$defs/Innflytter/properties/ref0 already exists.
This is because we are not incrementing the name reference suffix
Steps To Reproduce
Go to datamodell
Create a type
Drag the type into the model
See it got the name ref0
Drag the same type again and see that nothing happens but we get an uncaught error in the console
Description of the bug
If adding an element to the data model of a type the second time we get this error:
Error: Node with pointer #/$defs/Innflytter/properties/ref0 already exists.
This is because we are not incrementing the name reference suffix
Steps To Reproduce
ref0
Additional Information
No response