From aecd05fb9456bdefd221a19ab8c5d6355a0acd75 Mon Sep 17 00:00:00 2001 From: Angelina Filippova Date: Mon, 24 Aug 2020 22:50:01 +0300 Subject: [PATCH 1/2] Add Pleroma.Web.Preload settings on Frontend tab --- src/views/settings/components/Frontend.vue | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/views/settings/components/Frontend.vue b/src/views/settings/components/Frontend.vue index ec3675b8..894f8f51 100644 --- a/src/views/settings/components/Frontend.vue +++ b/src/views/settings/components/Frontend.vue @@ -27,6 +27,10 @@ + + + +
Submit
@@ -106,6 +110,12 @@ export default { markupData() { return _.get(this.settings.settings, [':pleroma', ':markup']) || {} }, + preload() { + return this.settings.description.find(setting => setting.key === 'Pleroma.Web.Preload') + }, + preloadData() { + return _.get(this.settings.settings, [':pleroma', 'Pleroma.Web.Preload']) || {} + }, staticFe() { return this.settings.description.find(setting => setting.key === ':static_fe') }, From 9d318698f4a01be9818b8975baabdc54d0b91079 Mon Sep 17 00:00:00 2001 From: Angelina Filippova Date: Mon, 24 Aug 2020 22:50:38 +0300 Subject: [PATCH 2/2] Update Changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ecf9c913..9d94cfc5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Added - Allow managing user's actor_type field via Admin API +- Add Pleroma.Web.Preload settings on Frontend tab ### Fixed