mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
Cleanup
This commit is contained in:
@@ -215,6 +215,8 @@
|
|||||||
:token token
|
:token token
|
||||||
:tokens tokens})])
|
:tokens tokens})])
|
||||||
(p/finally (fn [result err]
|
(p/finally (fn [result err]
|
||||||
|
;; The result should be a vector of all resolved validations
|
||||||
|
;; We do not handle the error case as it will be handled by the components validations
|
||||||
(when (and (seq result) (not err))
|
(when (and (seq result) (not err))
|
||||||
(let [token (cond-> {:name final-name
|
(let [token (cond-> {:name final-name
|
||||||
:type (or (:type token) token-type)
|
:type (or (:type token) token-type)
|
||||||
|
|||||||
Reference in New Issue
Block a user