mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-11-09 16:01:30 +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)
|
def snapshot!(cell_snapshot)
|
||||||
value_snapshot = dup
|
value_snapshot = dup
|
||||||
status_item = cell_snapshot.repository_column
|
status_item = cell_snapshot.repository_column
|
||||||
.repository_status_items
|
.repository_status_items
|
||||||
.find { |item| item.data == repository_status_item.data }
|
.find { |item| item.data == repository_status_item.data }
|
||||||
value_snapshot.assign_attributes(
|
value_snapshot.assign_attributes(
|
||||||
repository_cell: cell_snapshot,
|
repository_cell: cell_snapshot,
|
||||||
repository_status_item: status_item,
|
repository_status_item: status_item,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue