mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-01 04:32:16 +08:00
Merge pull request #3359 from aignatov-bio/ai-sci-5775-fix-snapshots-in-reports
Fix snapshots render in reports [SCI-5775]
This commit is contained in:
commit
d9b7526f11
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
<% my_module ||= @my_module %>
|
||||
<% element_id ||= nil %>
|
||||
<% repository ||= nil %>
|
||||
<% element_id ||= repository&.id %>
|
||||
<% repository_snapshot ||= nil %>
|
||||
<% repository = assigned_repository_or_snapshot(my_module, element_id, repository, repository_snapshot) %>
|
||||
<% timestamp = Time.current + 1.year - 1.days %>
|
||||
|
|
Loading…
Reference in a new issue