mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-11 14:27:04 +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
|
repository_rows = reminders_enabled ? with_reminders_status(repository_rows, repository) : repository_rows
|
||||||
# Always disabled in a simple view
|
# Always disabled in a simple view
|
||||||
stock_managable = false
|
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|
|
repository_rows.map do |record|
|
||||||
row = {
|
row = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue