chore: fix bottom menu

This commit is contained in:
andig 2026-04-13 16:36:44 +02:00
parent ffab2c8721
commit c7e3e486b9

View file

@ -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() {