mirror of
https://github.com/penpot/penpot.git
synced 2025-06-02 22:01:39 +02:00
🐛 Fix multiple elements export
This commit is contained in:
parent
fbcc2494b4
commit
15a9035ed1
1 changed files with 2 additions and 2 deletions
|
@ -151,9 +151,9 @@
|
||||||
(rx/tap (fn [[fonts]]
|
(rx/tap (fn [[fonts]]
|
||||||
(when (seq fonts)
|
(when (seq fonts)
|
||||||
(st/emit! (df/fonts-fetched fonts)))))
|
(st/emit! (df/fonts-fetched fonts)))))
|
||||||
(rx/map (comp :objects second))))))
|
(rx/map (fn [[_ page]] {:objects (:objects page)}))))))
|
||||||
|
|
||||||
objects (use-resource fetch-state)]
|
{:keys [objects]} (use-resource fetch-state)]
|
||||||
|
|
||||||
(when objects
|
(when objects
|
||||||
(for [object-id object-ids]
|
(for [object-id object-ids]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue