mirror of
https://github.com/penpot/penpot.git
synced 2026-04-27 20:28:11 +00:00
🐛 Fix forbid empty flow names
This commit is contained in:
parent
b9b85b5ada
commit
747cead313
@ -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…
x
Reference in New Issue
Block a user