mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-03 02:14:29 +08:00
Add assign item button to shared repository [SCI-8524] (#5478)
This commit is contained in:
parent
1ea7f53e4b
commit
b1a891e310
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ module Toolbars
|
|||
end
|
||||
|
||||
def assign_action
|
||||
return unless can_manage_repository_rows?(@repository)
|
||||
return unless can_read_repository?(@repository)
|
||||
|
||||
return unless @repository_rows.all?(&:active?)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue