mirror of
https://github.com/penpot/penpot.git
synced 2025-01-10 08:50:57 -05:00
🐛 Add mising remap-id on onboarding files setup.
This commit is contained in:
parent
9fb8ba2ff1
commit
f12f46981b
1 changed files with 3 additions and 1 deletions
|
@ -134,7 +134,9 @@
|
|||
(reduce #(assoc %1 (:id %2) (uuid/next)) index (:files data))
|
||||
(reduce #(assoc %1 (:id %2) (uuid/next)) index (:fmeds data)))
|
||||
|
||||
flibs (map #(remap-id % index :file-id) (:flibs data))
|
||||
flibs (->> (:flibs data)
|
||||
(map #(remap-id % index :file-id))
|
||||
(map #(remap-id % index :library-file-id)))
|
||||
|
||||
files (->> (:files data)
|
||||
(map #(assoc % :id (get index (:id %))))
|
||||
|
|
Loading…
Reference in a new issue