From 3980662a6c29cf8df961b4de46769b362f9ba404 Mon Sep 17 00:00:00 2001 From: Raju Udava <86527202+dstala@users.noreply.github.com> Date: Thu, 4 Aug 2022 12:37:13 +0530 Subject: [PATCH] fix: info message error when using invite more option Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> --- .../components/tabs/auth/user-management/UsersModal.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nc-gui-v2/components/tabs/auth/user-management/UsersModal.vue b/packages/nc-gui-v2/components/tabs/auth/user-management/UsersModal.vue index 58ff8dd93d..854b3f617a 100644 --- a/packages/nc-gui-v2/components/tabs/auth/user-management/UsersModal.vue +++ b/packages/nc-gui-v2/components/tabs/auth/user-management/UsersModal.vue @@ -41,7 +41,7 @@ const validators = computed(() => { emails: [ { validator: (rule: any, value: string, callback: (errMsg?: string) => void) => { - if (value.length === 0) { + if (!value || value.length === 0) { callback('Email is required') return }