From d7a568a685bb23ba106ff7e61eb2951c44086a13 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Sat, 27 Feb 2016 15:27:04 +0200 Subject: [PATCH] Restore show/hidden functionality. --- src/uxbox/ui/shapes/core.cljs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/uxbox/ui/shapes/core.cljs b/src/uxbox/ui/shapes/core.cljs index 9b04bc250..3f54c40ba 100644 --- a/src/uxbox/ui/shapes/core.cljs +++ b/src/uxbox/ui/shapes/core.cljs @@ -44,7 +44,8 @@ [own id] (let [shape-l (focus-shape id) shape (rum/react shape-l)] - (render-component own shape))) + (when-not (:hidden shape) + (render-component own shape)))) (def ^:const shape (mx/component