mirror of
https://github.com/penpot/penpot.git
synced 2025-03-12 07:41:43 -05:00
✨ Sort interaction destinations by label
This commit is contained in:
parent
42b68a786e
commit
3c9ae9b210
1 changed files with 2 additions and 1 deletions
|
@ -380,7 +380,8 @@
|
||||||
{:value "" :label (tr "workspace.options.interaction-none")})]
|
{:value "" :label (tr "workspace.options.interaction-none")})]
|
||||||
destination-options
|
destination-options
|
||||||
(mf/with-memo [frames-opts default-opts]
|
(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)
|
shape-parents-opts (get-shared-frames-options shape-parents)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue