From 0ec49e5e95f06bb6964781dd5271669c966cbf24 Mon Sep 17 00:00:00 2001 From: Alejandro Alonso Date: Mon, 31 Jul 2023 12:55:53 +0200 Subject: [PATCH] :bug: Fix remove content from boolean --- frontend/src/app/main/data/workspace/shapes.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/main/data/workspace/shapes.cljs b/frontend/src/app/main/data/workspace/shapes.cljs index 11420cee3..e02f720a0 100644 --- a/frontend/src/app/main/data/workspace/shapes.cljs +++ b/frontend/src/app/main/data/workspace/shapes.cljs @@ -288,7 +288,7 @@ (let [all-ids (into empty-parents ids) contains? (partial contains? all-ids) xform (comp (map lookup) - (filter cph/group-shape?) + (filter #(or (cph/group-shape? %) (cph/bool-shape? %))) (remove #(->> (:shapes %) (remove contains?) seq)) (map :id)) parents (into #{} xform all-parents)]