mirror of
https://github.com/penpot/penpot.git
synced 2025-08-04 04:08:37 +02:00
Minor cosmetic changes on colors dashboard page ns.
This commit is contained in:
parent
de387d00b1
commit
396f16fe21
1 changed files with 1 additions and 2 deletions
|
@ -45,7 +45,6 @@
|
|||
(let [local (:rum/local own)
|
||||
dashboard (mx/react dashboard-ref)
|
||||
own? (= :own (:type coll))
|
||||
editable? (or own? (nil? id))
|
||||
edit? (:edit @local)]
|
||||
(letfn [(save []
|
||||
(let [dom (mx/ref-node own "input")
|
||||
|
@ -84,7 +83,7 @@
|
|||
(:name coll)]
|
||||
[:span.dashboard-title-field
|
||||
(:name coll "Storage")]))]
|
||||
(if (and own? coll)
|
||||
(when (and own? coll)
|
||||
[:div.edition
|
||||
(if edit?
|
||||
[:span {:on-click save} i/save]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue