From 619831dbb51db03e9c661c00988852e68833dcd1 Mon Sep 17 00:00:00 2001 From: Angelina Filippova Date: Mon, 16 Mar 2020 22:36:40 +0300 Subject: [PATCH] Add Pleroma.Emails.NewUsersDigestEmail setting --- src/views/settings/components/Mailer.vue | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/views/settings/components/Mailer.vue b/src/views/settings/components/Mailer.vue index 1624eff2..49384798 100644 --- a/src/views/settings/components/Mailer.vue +++ b/src/views/settings/components/Mailer.vue @@ -11,9 +11,12 @@ - + + + +
Submit
@@ -65,6 +68,12 @@ export default { mailerData() { return _.get(this.settings.settings, [':pleroma', 'Pleroma.Emails.Mailer']) || {} }, + newUsersDigestEmail() { + return this.settings.description.find(setting => setting.key === 'Pleroma.Emails.NewUsersDigestEmail') + }, + newUsersDigestEmailData() { + return _.get(this.settings.settings, [':pleroma', 'Pleroma.Emails.NewUsersDigestEmail']) || {} + }, swoosh() { return this.settings.description.find(setting => setting.group === ':swoosh') },