mirror of
https://github.com/penpot/penpot.git
synced 2025-05-10 17:26:37 +02:00
🚧 Minor changes on blocking calls for thumbnails generation.
This commit is contained in:
parent
aaa8bfe67d
commit
bfe6b98ee1
2 changed files with 27 additions and 1 deletions
|
@ -39,7 +39,9 @@
|
|||
[rows]
|
||||
(if (empty? rows)
|
||||
rows
|
||||
(p/all (map populate-thumbnail rows))))
|
||||
(vc/blocking
|
||||
(mapv (fn [row]
|
||||
(images/populate-thumbnail row +thumbnail-options+)) rows))))
|
||||
|
||||
(defn populate-urls
|
||||
[row]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue