mirror of
https://github.com/penpot/penpot.git
synced 2026-09-14 07:59:36 +00:00
🐛 Fix error when getting file from libs
This commit is contained in:
parent
9896275fa8
commit
702bd41047
@ -92,7 +92,7 @@
|
|||||||
reverse-sort? (= :desc ordering)
|
reverse-sort? (= :desc ordering)
|
||||||
libs (mf/deref refs/libraries)
|
libs (mf/deref refs/libraries)
|
||||||
num-libs (count libs)
|
num-libs (count libs)
|
||||||
file (get libs (:id file-id))
|
file (get libs file-id)
|
||||||
components (mf/with-memo [file] (ctkl/components (:data file)))
|
components (mf/with-memo [file] (ctkl/components (:data file)))
|
||||||
|
|
||||||
toggle-ordering
|
toggle-ordering
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user