0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-04-16 00:41:25 -05:00
This commit is contained in:
mathieu.brunot 2019-02-24 01:05:43 +01:00
parent 58360c5db1
commit 2237eb0f54
No known key found for this signature in database
GPG key ID: 81584BEAF692D7E0
2 changed files with 3 additions and 1 deletions
frontend/src/uxbox/main
data
ui/dashboard

View file

@ -234,6 +234,7 @@
(prepare [[content metadata]]
{:collection id
:content content
:id (uuid/random)
;; TODO Keep the name of the original icon
:name (str "Icon " (gensym "i"))
:metadata metadata})]

View file

@ -285,7 +285,8 @@
(st/emit! (di/update-opts :edition selected))))]
;; MULTISELECT OPTIONS BAR
[:div.multiselect-bar {}
(if editable?
(if (or (= type :own) (nil? coll))
;; if editable
[:div.multiselect-nav {}
[:span.move-item.tooltip.tooltip-top
{:alt (tr "ds.multiselect-bar.copy")