agentejo / cockpit

Add content management functionality to any site - plug & play / headless / api-first CMS
http://getcockpit.com
MIT License
5.4k stars 524 forks source link

Bug: The order of nested layout modules reverts back to the first saved state on the second save. #1485

Open nibushibu opened 2 years ago

nibushibu commented 2 years ago

reproduction procedure

  1. Prepare layout fields in any collection
  2. Add two or more components in the layout field
  3. Save (1st save)
  4. Drag to rearrange components in the layout field
  5. Save again (second save)
  6. The order of components reverts back to the first saved state

https://user-images.githubusercontent.com/399949/161392548-9456e098-4030-4396-a840-eb86fea1a10a.mp4