From a390942722be0b3054a5a4ea1a006759d0effa4c Mon Sep 17 00:00:00 2001 From: Florian Schroedl Date: Tue, 18 Jun 2024 11:19:09 +0200 Subject: [PATCH] Resolve token value --- frontend/src/app/main/ui/workspace/tokens/editable_select.cljs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/app/main/ui/workspace/tokens/editable_select.cljs b/frontend/src/app/main/ui/workspace/tokens/editable_select.cljs index cd62dbea6..658ffc3e9 100644 --- a/frontend/src/app/main/ui/workspace/tokens/editable_select.cljs +++ b/frontend/src/app/main/ui/workspace/tokens/editable_select.cljs @@ -16,6 +16,7 @@ [app.main.ui.components.dropdown :refer [dropdown]] [app.main.ui.components.numeric-input :refer [numeric-input*]] [app.main.ui.icons :as i] + [app.main.ui.workspace.tokens.core :as wtc] [app.util.dom :as dom] [app.util.globals :as globals] [app.util.keyboard :as kbd] @@ -255,7 +256,7 @@ (when-let [{:keys [label value]} token] [:div {:title (str label ": " value) :class (stl/css :token-pill)} - value]) + (wtc/resolve-token-value token)]) (cond token [:& :input (merge input-props {:value (or (:token-value state) "")