mirror of
https://github.com/penpot/penpot.git
synced 2025-01-24 23:49:45 -05:00
Merge pull request #4220 from penpot/azazeln28-sort-interaction-destinations
✨ Sort interaction destinations by label
This commit is contained in:
commit
2465690c7d
1 changed files with 2 additions and 1 deletions
|
@ -380,7 +380,8 @@
|
|||
{:value "" :label (tr "workspace.options.interaction-none")})]
|
||||
destination-options
|
||||
(mf/with-memo [frames-opts default-opts]
|
||||
(d/concat-vec default-opts frames-opts))
|
||||
(let [sorted-frames-opts (sort-by :label frames-opts)]
|
||||
(d/concat-vec default-opts sorted-frames-opts)))
|
||||
|
||||
shape-parents-opts (get-shared-frames-options shape-parents)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue