From 54e5191d04cf1be1ba59d022c25c59f4a5103696 Mon Sep 17 00:00:00 2001 From: Angelina Filippova Date: Sat, 20 Jun 2020 16:29:55 +0300 Subject: [PATCH 1/4] Add MRF Activity Expitarion settings --- src/views/settings/components/MRF.vue | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/views/settings/components/MRF.vue b/src/views/settings/components/MRF.vue index 977d1582..062b6641 100644 --- a/src/views/settings/components/MRF.vue +++ b/src/views/settings/components/MRF.vue @@ -34,6 +34,10 @@ + + + + @@ -86,6 +90,12 @@ export default { modulesData() { return _.get(this.settings.settings, [':pleroma', ':modules']) || {} }, + mrfActivityExpiration() { + return this.settings.description.find(setting => setting.key === ':mrf_activity_expiration') + }, + mrfActivityExpirationData() { + return _.get(this.settings.settings, [':pleroma', ':mrf_activity_expiration']) || {} + }, mrfSimple() { return this.settings.description.find(setting => setting.key === ':mrf_simple') }, From ecebe77c402a255225af253544b5c270dbe139ce Mon Sep 17 00:00:00 2001 From: Angelina Filippova Date: Sat, 20 Jun 2020 17:08:27 +0300 Subject: [PATCH 2/4] Add settingsGroup labels --- src/views/settings/components/Setting.vue | 5 ++-- src/views/settings/styles/main.scss | 32 ++++++++++------------- 2 files changed, 17 insertions(+), 20 deletions(-) diff --git a/src/views/settings/components/Setting.vue b/src/views/settings/components/Setting.vue index 7bd28e09..2f99a3d1 100644 --- a/src/views/settings/components/Setting.vue +++ b/src/views/settings/components/Setting.vue @@ -1,7 +1,8 @@