mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-01 21:21:50 +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: {
|
render json: {
|
||||||
html: render_to_string(
|
html: render_to_string(
|
||||||
partial: 'my_modules/repositories/full_view_table',
|
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
|
end
|
||||||
|
|
Loading…
Reference in a new issue