Merge branch 'fix-1385' into 'develop'

Fix #1385

Closes #1385

See merge request pleroma/pleroma-fe!2188
This commit is contained in:
HJ 2025-12-19 17:34:25 +00:00
commit 657de70153
5 changed files with 8 additions and 1 deletions

View file

@ -0,0 +1 @@
fixed settings not appearing if user never touched "show advanced" toggle

View file

@ -0,0 +1 @@
temporary changes modal now shows actual countdown instead of fixed timeout

View file

@ -0,0 +1 @@
disabled elements are more disabled now

View file

@ -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: {

View file

@ -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"