fixes for stuff i missed

This commit is contained in:
Henry Jameson 2023-03-12 17:11:20 +02:00
parent 947b73f870
commit 6a7b182af1
5 changed files with 17 additions and 14 deletions

View File

@ -19,7 +19,7 @@
:changed="isChanged" :changed="isChanged"
:onclick="reset" :onclick="reset"
/> />
<ProfileSettingIndicator :is-profile="isProfileTied" /> <ProfileSettingIndicator :is-profile="isProfileSetting" />
</Checkbox> </Checkbox>
</label> </label>
</template> </template>

View File

@ -62,7 +62,7 @@ export default {
return get(this.$store.getters.defaultConfig, this.path) return get(this.$store.getters.defaultConfig, this.path)
} }
}, },
isProfileTied () { isProfileSetting () {
return this.source === 'profile' return this.source === 'profile'
}, },
isChanged () { isChanged () {

View File

@ -4,6 +4,9 @@ const SharedComputedObject = () => ({
}, },
expertLevel () { expertLevel () {
return this.$store.getters.mergedConfig.expertLevel > 0 return this.$store.getters.mergedConfig.expertLevel > 0
},
mergedConfig () {
return this.$store.getters.mergedConfig
} }
}) })

View File

@ -210,7 +210,7 @@
</ChoiceSetting> </ChoiceSetting>
</li> </li>
<ul <ul
v-if="conversationDisplay !== 'linear'" v-if="mergedConfig.conversationDisplay !== 'linear'"
class="setting-list suboptions" class="setting-list suboptions"
> >
<li> <li>

View File

@ -143,8 +143,8 @@
/> />
</div> </div>
<div> <div>
<i18n <i18n-t
path="settings.new_alias_target" keypath="settings.new_alias_target"
tag="p" tag="p"
> >
<code <code
@ -152,7 +152,7 @@
> >
foo@example.org foo@example.org
</code> </code>
</i18n> </i18n-t>
<input <input
v-model="addAliasTarget" v-model="addAliasTarget"
> >
@ -175,16 +175,16 @@
<h2>{{ $t('settings.move_account') }}</h2> <h2>{{ $t('settings.move_account') }}</h2>
<p>{{ $t('settings.move_account_notes') }}</p> <p>{{ $t('settings.move_account_notes') }}</p>
<div> <div>
<i18n <i18n-t
path="settings.move_account_target" keypath="settings.move_account_target"
tag="p" tag="p"
> >
<code <template #example>
place="example" <code>
> foo@example.org
foo@example.org </code>
</code> </template>
</i18n> </i18n-t>
<input <input
v-model="moveAccountTarget" v-model="moveAccountTarget"
> >