From 6f56a193904d47ebfa0adb9f53f5045e78cfe957 Mon Sep 17 00:00:00 2001 From: "alonso.torres" Date: Fri, 2 Oct 2020 21:58:28 +0200 Subject: [PATCH] :bug: Fixed problem when using colors from shared libs --- 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 6c275cf95..b6e93d522 100644 --- a/frontend/src/app/main/data/workspace/libraries_helpers.cljs +++ b/frontend/src/app/main/data/workspace/libraries_helpers.cljs @@ -186,7 +186,8 @@ :operations uoperations})]] [rchanges uchanges])) (let [attr-ref-id (keyword (str (name attr) "-ref-id"))] - (if-not (contains? shape attr-ref-id) + (if (or (not (contains? shape attr-ref-id)) + (nil? (get library-items (get shape attr-ref-id)))) (recur (next attrs) roperations uoperations)