mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-11-17 14:32:34 +08:00
Fix item archiving [SCI-10716]
This commit is contained in:
parent
284d266cb3
commit
ba4bfb6a1f
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ class RepositoriesController < ApplicationController
|
|||
|
||||
def table_toolbar
|
||||
render json: {
|
||||
html: render_to_string(partial: 'repositories/toolbar_buttons')
|
||||
html: render_to_string(partial: 'repositories/toolbar_buttons', locals: { view_mode: params[:view_mode]})
|
||||
}
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue