mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-17 18:45:28 +08:00
codestyle fix
This commit is contained in:
parent
26caeed04f
commit
15508a5065
1 changed files with 2 additions and 2 deletions
|
@ -32,8 +32,8 @@ class RepositoryStatusValue < ApplicationRecord
|
|||
def snapshot!(cell_snapshot)
|
||||
value_snapshot = dup
|
||||
status_item = cell_snapshot.repository_column
|
||||
.repository_status_items
|
||||
.find { |item| item.data == repository_status_item.data }
|
||||
.repository_status_items
|
||||
.find { |item| item.data == repository_status_item.data }
|
||||
value_snapshot.assign_attributes(
|
||||
repository_cell: cell_snapshot,
|
||||
repository_status_item: status_item,
|
||||
|
|
Loading…
Add table
Reference in a new issue