diff --git a/app/views/my_modules/_task_flow_and_sharing.html.erb b/app/views/my_modules/_task_flow_and_sharing.html.erb index a190661fc..e6142c045 100644 --- a/app/views/my_modules/_task_flow_and_sharing.html.erb +++ b/app/views/my_modules/_task_flow_and_sharing.html.erb @@ -4,9 +4,9 @@ <% if current_team.shareable_links_enabled? && can_share_my_module?(@my_module) %>
shareable-link-url="<%= my_module_shareable_link_path(@my_module) %>" - <%= 'disabled' if !can_manage_my_module?(current_user, @my_module) %> /> + :shared="<%= @my_module.shared? %>" + :disabled="<%= !can_share_my_module?(@my_module) %>" />
<%= javascript_include_tag 'vue_share_task_container' %>