fix(i18n): fix email previews
This commit is contained in:
parent
ef12ded3ed
commit
a7ec43a21e
1 changed files with 1 additions and 1 deletions
|
@ -382,7 +382,7 @@ class Dossier < ApplicationRecord
|
|||
validates :groupe_instructeur, presence: true, if: -> { !brouillon? }
|
||||
|
||||
def user_deleted?
|
||||
user_id.nil?
|
||||
persisted? && user_id.nil?
|
||||
end
|
||||
|
||||
def user_email_for(use)
|
||||
|
|
Loading…
Add table
Reference in a new issue