Merge branch 'fix-1385' into 'develop'
Fix #1385 Closes #1385 See merge request pleroma/pleroma-fe!2188
This commit is contained in:
commit
657de70153
5 changed files with 8 additions and 1 deletions
1
changelog.d/anon-setting.fix
Normal file
1
changelog.d/anon-setting.fix
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
fixed settings not appearing if user never touched "show advanced" toggle
|
||||||
1
changelog.d/countdown.change
Normal file
1
changelog.d/countdown.change
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
temporary changes modal now shows actual countdown instead of fixed timeout
|
||||||
1
changelog.d/disabled.change
Normal file
1
changelog.d/disabled.change
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
disabled elements are more disabled now
|
||||||
|
|
@ -271,7 +271,10 @@ export default {
|
||||||
return this.realSource === 'admin' && this.$store.state.adminSettings.modifiedPaths?.has(this.canonPath.join(' -> '))
|
return this.realSource === 'admin' && this.$store.state.adminSettings.modifiedPaths?.has(this.canonPath.join(' -> '))
|
||||||
},
|
},
|
||||||
matchesExpertLevel () {
|
matchesExpertLevel () {
|
||||||
return (this.expert || 0) <= this.$store.state.config.expertLevel > 0
|
const settingExpertLevel = this.expert || 0
|
||||||
|
const userToggleExpert = this.$store.state.config.expertLevel || 0
|
||||||
|
|
||||||
|
return settingExpertLevel <= userToggleExpert
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,7 @@
|
||||||
<ProfileTab />
|
<ProfileTab />
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
|
v-if="isLoggedIn"
|
||||||
:label="$t('settings.composing')"
|
:label="$t('settings.composing')"
|
||||||
icon="pen-alt"
|
icon="pen-alt"
|
||||||
data-tab-name="composing"
|
data-tab-name="composing"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue