fix #1385
This commit is contained in:
parent
3aae2f33d2
commit
c9b47a0ca9
1 changed files with 4 additions and 1 deletions
|
|
@ -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: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue