mirror of
https://github.com/penpot/penpot.git
synced 2025-06-01 05:01:39 +02:00
🎉 Add manage cli helper.
This commit is contained in:
parent
82d7a0163d
commit
65a3126f15
6 changed files with 306 additions and 55 deletions
|
@ -58,10 +58,13 @@
|
|||
|
||||
(defn- on-success
|
||||
[form data]
|
||||
(let [email (get-in @form [:clean-data :email-1])
|
||||
message (tr "notifications.validation-email-sent" email)]
|
||||
(st/emit! (dm/info message)
|
||||
(modal/hide))))
|
||||
(if (:changed data)
|
||||
(st/emit! (du/fetch-profile)
|
||||
(modal/hide))
|
||||
(let [email (get-in @form [:clean-data :email-1])
|
||||
message (tr "notifications.validation-email-sent" email)]
|
||||
(st/emit! (dm/info message)
|
||||
(modal/hide)))))
|
||||
|
||||
(defn- on-submit
|
||||
[form event]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue