mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-22 23:03:00 +08:00
Merge pull request #1604 from okriuchykhin/ok_SCI_3177
Fix experiment workflow image display after touching [SCI-3177]
This commit is contained in:
commit
9f5b331b9f
1 changed files with 2 additions and 0 deletions
|
@ -49,6 +49,8 @@ class Experiment < ApplicationRecord
|
|||
experiment.validates :archived_on, presence: true
|
||||
end
|
||||
|
||||
after_touch { update_column(:workflowimg_updated_at, updated_at) }
|
||||
|
||||
scope :is_archived, ->(is_archived) { where("archived = ?", is_archived) }
|
||||
|
||||
def self.search(
|
||||
|
|
Loading…
Reference in a new issue