|
136 | 136 | </p> |
137 | 137 | </article> |
138 | 138 | </div> |
| 139 | + <div class="app-description"> |
| 140 | + <h3>{{ t('mail', 'Allow aliases') }}</h3> |
| 141 | + <article> |
| 142 | + <p> |
| 143 | + <NcCheckboxRadioSwitch :checked.sync="allowNewMailAliases" |
| 144 | + type="switch" |
| 145 | + @update:checked="updateAllowNewMailAliases"> |
| 146 | + {{ t('mail', 'Allow users to create mail aliases') }} |
| 147 | + </NcCheckboxRadioSwitch> |
| 148 | + </p> |
| 149 | + </article> |
| 150 | + </div> |
139 | 151 | <div |
140 | 152 | v-if="isLlmSummaryConfigured" |
141 | 153 | class="app-description"> |
@@ -300,6 +312,7 @@ import { |
300 | 312 | setImportanceClassificationEnabledByDefault, |
301 | 313 | setLayoutMessageView, |
302 | 314 | updateAllowNewMailAccounts, |
| 315 | + updateAllowNewMailAliases, |
303 | 316 | updateEnabledSmartReply, |
304 | 317 | updateLlmEnabled, |
305 | 318 | updateProvisioningSettings, |
@@ -368,6 +381,7 @@ export default { |
368 | 381 | }, |
369 | 382 |
|
370 | 383 | allowNewMailAccounts: loadState('mail', 'allow_new_mail_accounts', true), |
| 384 | + allowNewMailAliases: loadState('mail', 'allow_new_mail_aliases', true), |
371 | 385 | isLlmSummaryConfigured: loadState('mail', 'enabled_llm_summary_backend'), |
372 | 386 | isLlmEnabled: loadState('mail', 'llm_processing', true), |
373 | 387 | isLlmFreePromptConfigured: loadState('mail', 'enabled_llm_free_prompt_backend'), |
@@ -431,6 +445,9 @@ export default { |
431 | 445 | async updateAllowNewMailAccounts(checked) { |
432 | 446 | await updateAllowNewMailAccounts(checked) |
433 | 447 | }, |
| 448 | + async updateAllowNewMailAliases(checked) { |
| 449 | + await updateAllowNewMailAliases(checked) |
| 450 | + }, |
434 | 451 |
|
435 | 452 | async updateLlmEnabled(checked) { |
436 | 453 | await updateLlmEnabled(checked) |
|
0 commit comments