From e2f3860544f23cb02b0ec10ebd27c6edd59199b8 Mon Sep 17 00:00:00 2001 From: Angelina Filippova Date: Sat, 4 Apr 2020 20:43:05 +0300 Subject: [PATCH] Remove Fetch initial post setting --- src/views/settings/components/Instance.vue | 10 ---------- src/views/settings/components/tabs.js | 2 +- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/src/views/settings/components/Instance.vue b/src/views/settings/components/Instance.vue index 0d4963b7..6696c4a6 100644 --- a/src/views/settings/components/Instance.vue +++ b/src/views/settings/components/Instance.vue @@ -12,10 +12,6 @@ - - - - @@ -67,12 +63,6 @@ export default { feedData() { return _.get(this.settings.settings, [':pleroma', ':feed']) || {} }, - fetchInitialPosts() { - return this.settings.description.find(setting => setting.key === ':fetch_initial_posts') - }, - fetchInitialPostsData() { - return _.get(this.settings.settings, [':pleroma', ':fetch_initial_posts']) || {} - }, instance() { return this.settings.description.find(setting => setting.key === ':instance') }, diff --git a/src/views/settings/components/tabs.js b/src/views/settings/components/tabs.js index 4bfa2051..f9b41621 100644 --- a/src/views/settings/components/tabs.js +++ b/src/views/settings/components/tabs.js @@ -33,7 +33,7 @@ export const tabs = { }, 'instance': { label: 'settings.instance', - settings: [':admin_token', ':fetch_initial_posts', ':instance', ':manifest', 'Pleroma.User', 'Pleroma.ScheduledActivity', ':uri_schemes', ':feed', ':streamer'] + settings: [':admin_token', ':instance', ':manifest', 'Pleroma.User', 'Pleroma.ScheduledActivity', ':uri_schemes', ':feed', ':streamer'] }, 'job-queue': { label: 'settings.jobQueue',