diff --git a/app/components/admin/site_customization/information_texts/form_field_component.rb b/app/components/admin/site_customization/information_texts/form_field_component.rb index 8c2233504..c5278a305 100644 --- a/app/components/admin/site_customization/information_texts/form_field_component.rb +++ b/app/components/admin/site_customization/information_texts/form_field_component.rb @@ -14,12 +14,12 @@ class Admin::SiteCustomization::InformationTexts::FormFieldComponent < Applicati end def database_text - if i18n_content.present? + if i18n_content.persisted? i18n_content.translations.find_by(locale: locale)&.value end end def i18n_text - t(i18n_content.key, locale: locale) + I18n.translate(i18n_content.key, locale: locale) end end