mirror of
https://github.com/penpot/penpot.git
synced 2025-05-26 01:46:11 +02:00
🐛 Fix error getting file library
This commit is contained in:
parent
bea3699451
commit
5a5222a97a
1 changed files with 2 additions and 1 deletions
|
@ -75,7 +75,8 @@
|
||||||
[state]
|
[state]
|
||||||
(let [{:keys [id] :as local} (:workspace-data state)]
|
(let [{:keys [id] :as local} (:workspace-data state)]
|
||||||
(-> (:workspace-libraries state)
|
(-> (:workspace-libraries state)
|
||||||
(assoc id local))))
|
(assoc id {:id id
|
||||||
|
:data local}))))
|
||||||
|
|
||||||
(defn pretty-file
|
(defn pretty-file
|
||||||
[file-id state]
|
[file-id state]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue