extract email assets

This commit is contained in:
Pete Matsyburka committed 2026-06-29 13:21:03 +03:00
1 parent 065dcf6f9f
commit 6ed5b5d35d
8 files changed
+127 -6

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@ class SubmitterMailer < ApplicationMailer
template_submitters_index = @email_message.blank? ? build_submitter_preferences_index(@submitter) : {}
@body = @email_message&.body.presence ||
@body = @email_message&.normalized_body.presence ||
template_submitters_index.dig(@submitter.uuid, 'request_email_body').presence ||
@submitter.template&.preferences&.dig('request_email_body').presence