fix: disable trusted instances in footer when federation is disabled

This commit is contained in:
lesion 2024-10-01 09:32:19 +02:00
parent 045b63f431
commit efd928da95
No known key found for this signature in database
GPG key ID: 352918250B012177

View file

@ -8,7 +8,7 @@ v-footer(aria-label='Footer')
:key='link.label' color='primary' text
:href='link.href' :to='link.to' :target="link.href && '_blank'") {{link.label}}
v-menu(v-if='settings.enable_trusted_instances && trusted_instances?.length'
v-menu(v-if='settings.enable_federation && settings.enable_trusted_instances && trusted_instances?.length'
offset-y bottom open-on-hover transition="slide-y-transition")
template(v-slot:activator="{ on, attrs }")
v-btn.ml-1(v-bind='attrs' v-on='on' color='primary' text) {{ settings.trusted_instances_label || $t('admin.trusted_instances_label_default')}}