mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-26 01:35:34 +08:00
Merge pull request #6748 from lasniscinote/gl_SCI_9789
(fix) Update of item table not done, stock modal entry [SCI-9789]
This commit is contained in:
commit
285d32afcd
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@ class RepositoryRowsController < ApplicationController
|
|||
return render json: { name: @repository_row.name } if update_params['repository_row'].present?
|
||||
|
||||
column = row_cell_update.column
|
||||
cell = row_cell_update.cell.reload
|
||||
cell = row_cell_update.cell&.reload || row_cell_update.cell
|
||||
data = { value_type: column.data_type, id: column.id, value: nil }
|
||||
|
||||
return render json: data if cell.blank?
|
||||
|
|
Loading…
Reference in a new issue