From d4cf817b8334c9f5e8051c9988a1407afcbc62d6 Mon Sep 17 00:00:00 2001 From: Pablo Alba Date: Wed, 13 Nov 2024 11:50:09 +0100 Subject: [PATCH] :bug: Fix libraries and templates section is shown for viewer role --- frontend/src/app/main/ui/dashboard.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/main/ui/dashboard.cljs b/frontend/src/app/main/ui/dashboard.cljs index 429987f90..21c160e5f 100644 --- a/frontend/src/app/main/ui/dashboard.cljs +++ b/frontend/src/app/main/ui/dashboard.cljs @@ -90,7 +90,7 @@ show-templates (and (contains? cf/flags :dashboard-templates-section) - (not (:can-edit permissions)))] + (:can-edit permissions))] (mf/with-effect [] (let [key1 (events/listen js/window "resize" on-resize)]