🐛 Fix problem when export/importing guides attached to frame

This commit is contained in:
alonso.torres 2022-04-28 14:24:07 +02:00
parent 9923268589
commit c7e23c1b58
4 changed files with 12 additions and 5 deletions

View file

@ -344,7 +344,13 @@
(assoc :id (resolve page-id)))
flows (->> (get-in page-data [:options :flows])
(mapv #(update % :starting-frame resolve)))
page-data (d/assoc-in-when page-data [:options :flows] flows)
guides (-> (get-in page-data [:options :guides])
(d/update-vals #(update % :frame-id resolve)))
page-data (-> page-data
(d/assoc-in-when [:options :flows] flows)
(d/assoc-in-when [:options :guides] guides))
file (-> file (fb/add-page page-data))
;; Preprocess nodes to parallel upload the images. Store the result in a table