mirror of
https://github.com/penpot/penpot.git
synced 2025-08-06 14:18:24 +02:00
🐛 Fix error when getting file from libs
This commit is contained in:
parent
9896275fa8
commit
702bd41047
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue