mirror of
https://github.com/penpot/penpot.git
synced 2025-06-06 23:51:37 +02:00
🐛 Fix access to libs on migration during an import (#6572)
This commit is contained in:
parent
443cabe94e
commit
be13704934
1 changed files with 1 additions and 1 deletions
|
@ -429,7 +429,6 @@
|
|||
(-> fdata
|
||||
(assoc :id id)
|
||||
(dissoc :recent-colors))))
|
||||
(fmg/migrate-file libs)
|
||||
(update :data (fn [fdata]
|
||||
(-> fdata
|
||||
(update :pages-index relink-shapes)
|
||||
|
@ -437,6 +436,7 @@
|
|||
(update :media relink-media)
|
||||
(update :colors relink-colors)
|
||||
(d/without-nils))))
|
||||
(fmg/migrate-file libs)
|
||||
|
||||
;; NOTE: this is necessary because when we just creating a new
|
||||
;; file from imported artifact or cloned file there are no
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue