mirror of
https://github.com/penpot/penpot.git
synced 2025-03-11 23:31:21 -05:00
🐛 Fix forbid empty flow names
This commit is contained in:
parent
b9b85b5ada
commit
747cead313
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@
|
|||
|
||||
accept-edit (fn []
|
||||
(let [name-input (mf/ref-val name-ref)
|
||||
name (dom/get-value name-input)]
|
||||
name (str/trim (dom/get-value name-input))]
|
||||
(reset! editing? false)
|
||||
(st/emit! (dwi/end-rename-flow)
|
||||
(when-not (str/empty? name)
|
||||
|
|
Loading…
Add table
Reference in a new issue