diff --git a/frontend/src/app/main/ui/workspace/sidebar/options.cljs b/frontend/src/app/main/ui/workspace/sidebar/options.cljs index c5ce31810..e661fb539 100644 --- a/frontend/src/app/main/ui/workspace/sidebar/options.cljs +++ b/frontend/src/app/main/ui/workspace/sidebar/options.cljs @@ -197,6 +197,10 @@ :id "inspect" :content inspect-content}])] + (mf/with-effect [permissions] + (when-not (:can-edit permissions) + (on-change-tab :inspect))) + [:div {:class (stl/css :tool-window)} [:> tab-switcher* {:tabs tabs :default-selected "info"