Show plan badge in section headers if feature is not included

This commit is contained in:
Johannes Zellner
2025-05-13 13:26:35 +02:00
parent 43c69d4288
commit 6c115804e8
5 changed files with 24 additions and 5 deletions

View File

@@ -334,7 +334,7 @@ onMounted(async () => {
</Section>
<!-- TODO translation -->
<Section title="Receiving" :padding="false" v-if="!busyRefresh" :disabled="!features.emailServer">
<Section title="Receiving" :padding="false" v-if="!busyRefresh" :title-badge="!features.emailServer ? 'Pro' : ''">
<SettingsItem>
<FormGroup>
<label>{{ $t('email.incoming.title') }}</label>