From 9f3e1743a175f77b4597f47722c0d5e3600d97e7 Mon Sep 17 00:00:00 2001 From: Florian Schroedl Date: Tue, 25 Jun 2024 16:45:01 +0200 Subject: [PATCH] Cleanup --- frontend/src/app/main/ui/workspace/tokens/form.cljs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/app/main/ui/workspace/tokens/form.cljs b/frontend/src/app/main/ui/workspace/tokens/form.cljs index 41ee8ee43..62a50332c 100644 --- a/frontend/src/app/main/ui/workspace/tokens/form.cljs +++ b/frontend/src/app/main/ui/workspace/tokens/form.cljs @@ -215,6 +215,8 @@ :token token :tokens tokens})]) (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)) (let [token (cond-> {:name final-name :type (or (:type token) token-type)