This commit is contained in:
Kara Diaby 2022-06-02 15:25:55 +02:00
parent ead1f1fa57
commit 60eed4ec01

View file

@ -405,7 +405,7 @@ class Procedure < ApplicationRecord
end end
def draft_changed? def draft_changed?
publiee? && published_revision.different_from?(draft_revision) && revision_changes.present? published_revision.different_from?(draft_revision) && revision_changes.present?
end end
def revision_changes def revision_changes