mirror of
https://github.com/penpot/penpot.git
synced 2025-05-15 22:16:37 +02:00
🚧 wip
This commit is contained in:
parent
58360c5db1
commit
2237eb0f54
2 changed files with 3 additions and 1 deletions
|
@ -234,6 +234,7 @@
|
||||||
(prepare [[content metadata]]
|
(prepare [[content metadata]]
|
||||||
{:collection id
|
{:collection id
|
||||||
:content content
|
:content content
|
||||||
|
:id (uuid/random)
|
||||||
;; TODO Keep the name of the original icon
|
;; TODO Keep the name of the original icon
|
||||||
:name (str "Icon " (gensym "i"))
|
:name (str "Icon " (gensym "i"))
|
||||||
:metadata metadata})]
|
:metadata metadata})]
|
||||||
|
|
|
@ -285,7 +285,8 @@
|
||||||
(st/emit! (di/update-opts :edition selected))))]
|
(st/emit! (di/update-opts :edition selected))))]
|
||||||
;; MULTISELECT OPTIONS BAR
|
;; MULTISELECT OPTIONS BAR
|
||||||
[:div.multiselect-bar {}
|
[:div.multiselect-bar {}
|
||||||
(if editable?
|
(if (or (= type :own) (nil? coll))
|
||||||
|
;; if editable
|
||||||
[:div.multiselect-nav {}
|
[:div.multiselect-nav {}
|
||||||
[:span.move-item.tooltip.tooltip-top
|
[:span.move-item.tooltip.tooltip-top
|
||||||
{:alt (tr "ds.multiselect-bar.copy")
|
{:alt (tr "ds.multiselect-bar.copy")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue