mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-24 08:43:13 +08:00
Fix appearence of snapshots from another my_module in report [SCI-4728]
This commit is contained in:
parent
38877aad26
commit
f1f26587c0
1 changed files with 3 additions and 1 deletions
|
@ -19,7 +19,9 @@ class RepositorySnapshot < RepositoryBase
|
|||
Constants::REPOSITORY_SNAPSHOT_TABLE_DEFAULT_STATE['length']
|
||||
end
|
||||
|
||||
def assigned_rows(_my_module)
|
||||
def assigned_rows(my_module)
|
||||
return RepositoryRow.none if my_module != self.my_module
|
||||
|
||||
repository_rows
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue