mirror of
https://github.com/penpot/penpot.git
synced 2025-02-01 03:49:22 -05:00
🚧 Add todo
This commit is contained in:
parent
b875804bce
commit
ab0cd29af9
1 changed files with 6 additions and 6 deletions
|
@ -91,12 +91,12 @@
|
||||||
:icon (if @collapsed? "arrow-right" "arrow-down")
|
:icon (if @collapsed? "arrow-right" "arrow-down")
|
||||||
:variant "action"}]
|
:variant "action"}]
|
||||||
(if editing?'
|
(if editing?'
|
||||||
(let [on-submit #(on-edit-submit)]
|
[:& editing-label
|
||||||
[:& editing-label
|
{:default-value label
|
||||||
{:default-value label
|
:on-cancel on-edit-reset
|
||||||
:on-cancel on-edit-reset
|
:on-create on-edit-reset
|
||||||
:on-create on-edit-reset
|
;; TODO Implement set group renaming
|
||||||
:on-submit on-submit}])
|
:on-submit (constantly nil)}]
|
||||||
[:div {:class (stl/css :set-name)
|
[:div {:class (stl/css :set-name)
|
||||||
:on-double-click #(on-edit tree-path)}
|
:on-double-click #(on-edit tree-path)}
|
||||||
label])]))
|
label])]))
|
||||||
|
|
Loading…
Add table
Reference in a new issue