From 8482a128de0f25290767614f2a869094ea1aeb87 Mon Sep 17 00:00:00 2001 From: Florian Schroedl Date: Fri, 16 Aug 2024 07:09:17 +0200 Subject: [PATCH] Fix expeted id instead of set --- frontend/src/app/main/ui/workspace/tokens/token_set.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/main/ui/workspace/tokens/token_set.cljs b/frontend/src/app/main/ui/workspace/tokens/token_set.cljs index db3f3c626..b144c919d 100644 --- a/frontend/src/app/main/ui/workspace/tokens/token_set.cljs +++ b/frontend/src/app/main/ui/workspace/tokens/token_set.cljs @@ -14,7 +14,7 @@ (defn get-workspace-ordered-themes [state] (let [themes (get-workspace-themes state) themes-index (get-workspace-themes-index state)] - (->> (map #(get themes-index (:id %)) themes) + (->> (map #(get themes-index %) themes) (group-by :group)))) (defn theme-selected? [theme]