From 6a7b182af11af6c50439c62bc5ee37cc5960810e Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Sun, 12 Mar 2023 17:11:20 +0200 Subject: [PATCH] fixes for stuff i missed --- .../helpers/boolean_setting.vue | 2 +- .../settings_modal/helpers/setting.js | 2 +- .../helpers/shared_computed_object.js | 3 +++ .../settings_modal/tabs/general_tab.vue | 2 +- .../tabs/security_tab/security_tab.vue | 22 +++++++++---------- 5 files changed, 17 insertions(+), 14 deletions(-) diff --git a/src/components/settings_modal/helpers/boolean_setting.vue b/src/components/settings_modal/helpers/boolean_setting.vue index bc014bc9..260ee75e 100644 --- a/src/components/settings_modal/helpers/boolean_setting.vue +++ b/src/components/settings_modal/helpers/boolean_setting.vue @@ -19,7 +19,7 @@ :changed="isChanged" :onclick="reset" /> - + diff --git a/src/components/settings_modal/helpers/setting.js b/src/components/settings_modal/helpers/setting.js index dc37675c..a766e6dc 100644 --- a/src/components/settings_modal/helpers/setting.js +++ b/src/components/settings_modal/helpers/setting.js @@ -62,7 +62,7 @@ export default { return get(this.$store.getters.defaultConfig, this.path) } }, - isProfileTied () { + isProfileSetting () { return this.source === 'profile' }, isChanged () { diff --git a/src/components/settings_modal/helpers/shared_computed_object.js b/src/components/settings_modal/helpers/shared_computed_object.js index b8a016e6..912999ce 100644 --- a/src/components/settings_modal/helpers/shared_computed_object.js +++ b/src/components/settings_modal/helpers/shared_computed_object.js @@ -4,6 +4,9 @@ const SharedComputedObject = () => ({ }, expertLevel () { return this.$store.getters.mergedConfig.expertLevel > 0 + }, + mergedConfig () { + return this.$store.getters.mergedConfig } }) diff --git a/src/components/settings_modal/tabs/general_tab.vue b/src/components/settings_modal/tabs/general_tab.vue index 0eb3d06c..eb2cef9b 100644 --- a/src/components/settings_modal/tabs/general_tab.vue +++ b/src/components/settings_modal/tabs/general_tab.vue @@ -210,7 +210,7 @@
  • diff --git a/src/components/settings_modal/tabs/security_tab/security_tab.vue b/src/components/settings_modal/tabs/security_tab/security_tab.vue index 6e03bef4..d36d478f 100644 --- a/src/components/settings_modal/tabs/security_tab/security_tab.vue +++ b/src/components/settings_modal/tabs/security_tab/security_tab.vue @@ -143,8 +143,8 @@ />
    - foo@example.org - + @@ -175,16 +175,16 @@

    {{ $t('settings.move_account') }}

    {{ $t('settings.move_account_notes') }}

    - - - foo@example.org - - + +