[bug] fix missing translations for mailer
This commit is contained in:
parent
3b202e5f85
commit
8a53ca31f0
|
@ -31,7 +31,7 @@ const sendEmail = (to, subject, body = undefined, html = undefined) => {
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
const terms = translations.terms.content.content.violations + ' ' + Object.values(translations.terms.content.content.violationsExamples).join(', ');
|
const terms = translations.terms ? (translations.terms.content.content.violations + ' ' + Object.values(translations.terms.content.content.violationsExamples).join(', ')) : '';
|
||||||
|
|
||||||
const templates = {
|
const templates = {
|
||||||
base: {
|
base: {
|
||||||
|
|
Reference in New Issue