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

View file

@ -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})]

View file

@ -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")