From c9b752e8d9ddb83b26ff12f3195405c775b90929 Mon Sep 17 00:00:00 2001 From: Lera24 Date: Wed, 21 Aug 2024 13:36:01 +0300 Subject: [PATCH] fix: saving new email profile[WTEL-4937] --- .../email-profiles/components/opened-email-profile.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/integrations/modules/email-profiles/components/opened-email-profile.vue b/src/modules/integrations/modules/email-profiles/components/opened-email-profile.vue index 8cc576fc8..09502aa93 100644 --- a/src/modules/integrations/modules/email-profiles/components/opened-email-profile.vue +++ b/src/modules/integrations/modules/email-profiles/components/opened-email-profile.vue @@ -76,8 +76,8 @@ export default { login: { required }, mailbox: { required }, authType: { required }, - password: !this.id && { - required, + password: { + required: requiredIf(!this.isOauth2AuthType && !this.id), }, params: { oauth2: {