0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-06 14:50:20 -05:00

Merge pull request #117 from tokens-studio/sort-tokens-by-insert-order

sort tokens by insert order
This commit is contained in:
Akshay Gupta 2024-05-21 13:27:42 +05:30 committed by GitHub
commit a1f09d69b0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -101,7 +101,7 @@
(when open?
[:& cmm/asset-section-block {:role :content}
[:div {:class (stl/css :token-pills-wrapper)}
(for [token tokens]
(for [token (sort-by :modified-at tokens)]
[:& token-pill
{:key (:id token)
:token token