mirror of
https://github.com/penpot/penpot.git
synced 2025-05-10 06:06:39 +02:00
✨ Add library names to handoff views
This commit is contained in:
parent
833a53f131
commit
8ae52be773
9 changed files with 169 additions and 66 deletions
|
@ -49,9 +49,12 @@
|
|||
project (retrieve-project conn (:project-id file))
|
||||
page (get-in file [:data :pages-index page-id])
|
||||
|
||||
bundle {:file (dissoc file :data)
|
||||
file-library (select-keys (:data file) [:colors :media :typographies])
|
||||
bundle {:file (-> (dissoc file :data)
|
||||
(merge file-library))
|
||||
:page (get-in file [:data :pages-index page-id])
|
||||
:project project}]
|
||||
:project project}
|
||||
]
|
||||
(if (string? share-token)
|
||||
(do
|
||||
(check-shared-token! conn file-id page-id share-token)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue