From aecd05fb9456bdefd221a19ab8c5d6355a0acd75 Mon Sep 17 00:00:00 2001 From: Angelina Filippova Date: Mon, 24 Aug 2020 22:50:01 +0300 Subject: [PATCH] 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') },