From 379f885354cf5cec58fd730e4c2738b46ec8474a Mon Sep 17 00:00:00 2001 From: Nikolay Nikolaev Date: Fri, 31 Mar 2023 13:00:57 +0300 Subject: [PATCH] add mail check --- src/static/scripts/admin_users.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/static/scripts/admin_users.js b/src/static/scripts/admin_users.js index 0eac278c..65815dd3 100644 --- a/src/static/scripts/admin_users.js +++ b/src/static/scripts/admin_users.js @@ -125,7 +125,7 @@ function resendUserInvite (event) { event.stopPropagation(); const id = event.target.parentNode.dataset.vwUserUuid; const email = event.target.parentNode.dataset.vwUserEmail; - if (!id) { + if (!id || !email) { alert("Required parameters not found!"); return false; }