From b06a5151cce92ab8082709f7464aa0d35defb2f5 Mon Sep 17 00:00:00 2001 From: Abhinav Raut Date: Fri, 24 Apr 2026 22:03:39 +0530 Subject: [PATCH] disable plus addressing toggle for microsoft inboxes instead of hiding, preventing accidental disable on re-save --- .../apps/main/src/features/admin/inbox/EmailInboxForm.vue | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/frontend/apps/main/src/features/admin/inbox/EmailInboxForm.vue b/frontend/apps/main/src/features/admin/inbox/EmailInboxForm.vue index e5cb9894..7ce568f6 100644 --- a/frontend/apps/main/src/features/admin/inbox/EmailInboxForm.vue +++ b/frontend/apps/main/src/features/admin/inbox/EmailInboxForm.vue @@ -73,7 +73,7 @@ @@ -82,6 +82,7 @@ :title="$t('admin.inbox.enablePlusAddressing')" :description="$t('admin.inbox.enablePlusAddressing.description')" :checked="componentField.modelValue" + :disabled="isMicrosoftInbox && componentField.modelValue" @update:checked="handleChange" />

{ const isMicrosoftInbox = computed(() => form.values.oauth?.provider === PROVIDER_MICROSOFT) -const showPlusAddressingToggle = computed( - () => !isMicrosoftInbox.value || !form.values.enable_plus_addressing -) - const submitLabel = computed(() => { return ( props.submitLabel ||