From 01b2d6718e1880b43b87ff75132a8b12cb15ae52 Mon Sep 17 00:00:00 2001 From: Angelina Filippova Date: Wed, 22 Jan 2020 18:58:12 +0700 Subject: [PATCH] Make Submit button sticky --- src/store/modules/normalizers.js | 5 +---- src/views/settings/components/ActivityPub.vue | 8 ++++---- .../settings/components/Authentication.vue | 8 ++++---- src/views/settings/components/AutoLinker.vue | 14 +++++++------ src/views/settings/components/Captcha.vue | 8 ++++---- src/views/settings/components/Esshd.vue | 8 ++++---- src/views/settings/components/Frontend.vue | 8 ++++---- src/views/settings/components/Gopher.vue | 14 +++++++------ src/views/settings/components/Http.vue | 8 ++++---- src/views/settings/components/Instance.vue | 8 ++++---- src/views/settings/components/JobQueue.vue | 8 ++++---- src/views/settings/components/Logger.vue | 8 ++++---- src/views/settings/components/MRF.vue | 8 ++++---- src/views/settings/components/Mailer.vue | 8 ++++---- src/views/settings/components/MediaProxy.vue | 14 +++++++------ src/views/settings/components/Metadata.vue | 8 ++++---- src/views/settings/components/Other.vue | 8 ++++---- .../settings/components/RateLimiters.vue | 14 +++++++------ src/views/settings/components/Upload.vue | 8 ++++---- src/views/settings/components/WebPush.vue | 14 +++++++------ src/views/settings/styles/main.scss | 20 ++++++++++++++++--- 21 files changed, 114 insertions(+), 93 deletions(-) diff --git a/src/store/modules/normalizers.js b/src/store/modules/normalizers.js index 6d0efe29..cb3f5685 100644 --- a/src/store/modules/normalizers.js +++ b/src/store/modules/normalizers.js @@ -138,10 +138,7 @@ const parseProxyUrl = value => { } const partialUpdate = (group, key) => { - if (group === ':auto_linker' && key === ':opts') { - return false - } - return true + return group === ':auto_linker' && key === ':opts' } export const processNested = (valueForState, valueForUpdatedSettings, group, parentKey, parents, settings, updatedSettings) => { diff --git a/src/views/settings/components/ActivityPub.vue b/src/views/settings/components/ActivityPub.vue index 2eb9a654..56a57b9a 100644 --- a/src/views/settings/components/ActivityPub.vue +++ b/src/views/settings/components/ActivityPub.vue @@ -1,15 +1,15 @@ diff --git a/src/views/settings/components/Authentication.vue b/src/views/settings/components/Authentication.vue index f88b5b40..37c01de2 100644 --- a/src/views/settings/components/Authentication.vue +++ b/src/views/settings/components/Authentication.vue @@ -1,5 +1,5 @@ diff --git a/src/views/settings/components/AutoLinker.vue b/src/views/settings/components/AutoLinker.vue index e5fb7529..18ebabc3 100644 --- a/src/views/settings/components/AutoLinker.vue +++ b/src/views/settings/components/AutoLinker.vue @@ -1,10 +1,12 @@