vizhub-core / vizhub-legacy

Data Visualization Platform
https://vizhub.com
MIT License
89 stars 44 forks source link

Restore Forked From in Deletion #502

Closed curran closed 11 months ago

curran commented 2 years ago

Currently, when a viz gets deleted, the "forkedFrom" field in its forks because an invalid reference.

This should be fixed by setting the "forkedFrom" field in the forks to the "forkedFrom" field of the viz that is about to be deleted.