mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-10 09:23:58 +08:00
Merge pull request #5425 from rekonder/aj_SCI_8418
Fix rendering of simple repository view on task [SCI-8418]
This commit is contained in:
commit
c2fb957699
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