mirror of
https://github.com/penpot/penpot.git
synced 2025-06-06 12:42:13 +02:00
🐛 Fix empty reply comments
This commit is contained in:
parent
9a60ac477f
commit
955bf0ef9e
1 changed files with 5 additions and 1 deletions
|
@ -214,7 +214,11 @@
|
||||||
:select-on-focus true
|
:select-on-focus true
|
||||||
:on-change on-change}]
|
:on-change on-change}]
|
||||||
[:div.buttons
|
[:div.buttons
|
||||||
[:input.btn-primary {:type "button" :value "Post" :on-click on-submit*}]
|
[:input.btn-primary {:type "button"
|
||||||
|
:value "Post"
|
||||||
|
:on-click on-submit*
|
||||||
|
:disabled (or (fm/all-spaces? @content)
|
||||||
|
(str/empty-or-nil? @content))}]
|
||||||
[:input.btn-secondary {:type "button" :value "Cancel" :on-click on-cancel}]]]))
|
[:input.btn-secondary {:type "button" :value "Cancel" :on-click on-cancel}]]]))
|
||||||
|
|
||||||
(mf/defc comment-item
|
(mf/defc comment-item
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue