mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-30 04:02:48 +08:00
Fix consumption check for full view repository [SCI-10184] (#7082)
This commit is contained in:
parent
daa5280521
commit
7fe6aae843
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ class MyModuleRepositoriesController < ApplicationController
|
|||
render json: {
|
||||
html: render_to_string(
|
||||
partial: 'my_modules/repositories/full_view_table',
|
||||
locals: { include_stock_consumption: params[:include_stock_consumption] }
|
||||
locals: { include_stock_consumption: params[:include_stock_consumption] == 'true' }
|
||||
)
|
||||
}
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue