mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-25 08:14:17 +08:00
Merge pull request #6373 from okriuchykhin/ok_SCI_9136
Hide task share button if user has no permissions for task sharing [SCI-9136]
This commit is contained in:
commit
6da8725a46
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
<div class="task-sharing-and-flows flex items-center gap-2 pl-3">
|
||||
<%= render partial: 'my_modules/status_flow/task_flow_button', locals: { my_module: @my_module } if @my_module.my_module_status_flow %>
|
||||
<%= javascript_include_tag("my_modules/status_flow") %>
|
||||
<% if current_team.shareable_links_enabled? %>
|
||||
<% 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? %>
|
||||
|
|
Loading…
Reference in a new issue