From 27ba0e2e0733ddaeb7437dc4194f684306636635 Mon Sep 17 00:00:00 2001 From: Lucas Di Pentima Date: Wed, 8 Jun 2022 09:59:02 -0300 Subject: [PATCH] 19177: Do not show the collection's sharing button on wb1 when it shouldn't. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima --- apps/workbench/app/views/collections/show.html.erb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/apps/workbench/app/views/collections/show.html.erb b/apps/workbench/app/views/collections/show.html.erb index 56712661c8..8a9200aeba 100644 --- a/apps/workbench/app/views/collections/show.html.erb +++ b/apps/workbench/app/views/collections/show.html.erb @@ -40,13 +40,11 @@ SPDX-License-Identifier: AGPL-3.0 %>
- - + <% if !Rails.configuration.Workbench.DisableSharingURLsUI %>
<%= render partial: 'sharing_button' %>
+ <% end %>
<% if @projects.andand.any? %> -- 2.30.2