mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-04 03:36:44 +08:00
Fix button permission for the shareable link on task [SCI-9517] (#6427)
This commit is contained in:
parent
27652fd1a0
commit
c55c9e2596
1 changed files with 2 additions and 2 deletions
|
@ -4,9 +4,9 @@
|
|||
<% if current_team.shareable_links_enabled? && can_share_my_module?(@my_module) %>
|
||||
<div class="share-task-container" data-behaviour="vue">
|
||||
<share-task-container
|
||||
<%= 'shared' if @my_module.shared? %>
|
||||
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) %>" />
|
||||
</div>
|
||||
|
||||
<%= javascript_include_tag 'vue_share_task_container' %>
|
||||
|
|
Loading…
Reference in a new issue