mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-11 09:26:37 +08:00
Merge pull request #970 from mlorb/ml-sci-1614
Fix bug with ajax error caused to the other user when deleting column…
This commit is contained in:
commit
7b83fd8807
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ class RepositoryTableState < ApplicationRecord
|
|||
index = repository_state['columns'].count
|
||||
repository_state['columns'][index] = RepositoryDatatable::
|
||||
REPOSITORY_TABLE_DEFAULT_STATE['columns'].first
|
||||
repository_state['ColReorder'].insert(2, index)
|
||||
repository_state['ColReorder'].insert(2, index.to_s)
|
||||
end
|
||||
table_state.update(state: repository_state)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue