mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-26 09:42:46 +08:00
Fix rendering of simple repository view on task [SCI-8418]
This commit is contained in:
parent
adaa2b6a48
commit
20052e966a
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ module RepositoryDatatableHelper
|
|||
repository_rows = reminders_enabled ? with_reminders_status(repository_rows, repository) : repository_rows
|
||||
# Always disabled in a simple view
|
||||
stock_managable = false
|
||||
stock_consumption_permitted = has_stock_management && stock_consumption_permitted?(repository, options[:my_module])
|
||||
stock_consumption_permitted = has_stock_management && stock_consumption_permitted?(repository, my_module)
|
||||
|
||||
repository_rows.map do |record|
|
||||
row = {
|
||||
|
|
Loading…
Reference in a new issue