mirror of
https://github.com/penpot/penpot.git
synced 2025-01-10 08:50:57 -05:00
🐛 Fix race condition between shape modifiation and persistence
This commit is contained in:
parent
b635427f91
commit
3c1086dfcc
1 changed files with 2 additions and 1 deletions
|
@ -69,9 +69,10 @@
|
|||
(cpc/check-changes! undo-changes)))
|
||||
|
||||
(let [commit-id (or commit-id (uuid/next))
|
||||
source (d/nilv source :local)
|
||||
commit {:id commit-id
|
||||
:created-at (dt/now)
|
||||
:source (d/nilv source :local)
|
||||
:source source
|
||||
:origin (ptk/type origin)
|
||||
:features features
|
||||
:file-id file-id
|
||||
|
|
Loading…
Reference in a new issue