mirror of
https://github.com/penpot/penpot.git
synced 2026-04-26 11:48:28 +00:00
🐛 Fix error when updating a library without components
This commit is contained in:
parent
747b4e9600
commit
e55f33d48d
@ -447,7 +447,8 @@
|
||||
(watch [_ state stream]
|
||||
(let [[rchanges uchanges] (generate-sync-file state file-id)]
|
||||
(rx/concat
|
||||
(rx/of (dwc/commit-changes rchanges uchanges {:commit-local? true}))
|
||||
(when rchanges
|
||||
(rx/of (dwc/commit-changes rchanges uchanges {:commit-local? true})))
|
||||
(when file-id
|
||||
(rp/mutation :update-sync
|
||||
{:file-id (get-in state [:workspace-file :id])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user