From d8964a69bc42ca32fc0b381412f807e267c4e78f Mon Sep 17 00:00:00 2001 From: Pablo Alba Date: Tue, 10 Dec 2024 13:33:04 +0100 Subject: [PATCH] :sparkles: Fix test A/B add share button to the workspace --- frontend/src/app/main/ui/workspace/right_header.cljs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/app/main/ui/workspace/right_header.cljs b/frontend/src/app/main/ui/workspace/right_header.cljs index 17ea3f5ce..994416cf9 100644 --- a/frontend/src/app/main/ui/workspace/right_header.cljs +++ b/frontend/src/app/main/ui/workspace/right_header.cljs @@ -250,7 +250,9 @@ :on-click toggle-history} i/history]]) - (when (cf/external-feature-flag "share-01" "test") + (when (and + (not (:is-default team)) + (cf/external-feature-flag "share-01" "test")) [:a {:class (stl/css :viewer-btn) :title (tr "workspace.header.share") :on-click open-share-dialog}