chore: fix bottom menu
This commit is contained in:
parent
ffab2c8721
commit
c7e3e486b9
1 changed files with 2 additions and 1 deletions
|
|
@ -77,6 +77,7 @@ export default defineComponent({
|
|||
sponsor: { type: Object as PropType<Sponsor>, default: () => ({}) },
|
||||
fatal: { type: Array as PropType<FatalError[]>, default: () => [] },
|
||||
experimental: Boolean,
|
||||
authDisabled: Boolean,
|
||||
evopt: { type: Object as PropType<EvOpt>, required: false },
|
||||
installed: String,
|
||||
commit: String,
|
||||
|
|
@ -120,7 +121,7 @@ export default defineComponent({
|
|||
return !!this.evopt && this.experimental;
|
||||
},
|
||||
showLogout() {
|
||||
return isLoggedIn();
|
||||
return !this.authDisabled && isLoggedIn();
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue