From 5a5222a97a80cd520a2bfd47df787b40cc930457 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Moya?= Date: Thu, 10 Feb 2022 13:17:57 +0100 Subject: [PATCH] :bug: Fix error getting file library --- frontend/src/app/main/data/workspace/libraries_helpers.cljs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/app/main/data/workspace/libraries_helpers.cljs b/frontend/src/app/main/data/workspace/libraries_helpers.cljs index 6ec7dcaeb..d2e62573f 100644 --- a/frontend/src/app/main/data/workspace/libraries_helpers.cljs +++ b/frontend/src/app/main/data/workspace/libraries_helpers.cljs @@ -75,7 +75,8 @@ [state] (let [{:keys [id] :as local} (:workspace-data state)] (-> (:workspace-libraries state) - (assoc id local)))) + (assoc id {:id id + :data local})))) (defn pretty-file [file-id state]