commit 379f885354cf5cec58fd730e4c2738b46ec8474a
parent 0c085d21ce66425ce0c41a81ecbc8d9119e64623
Author: Nikolay Nikolaev <nikolaevn.home@gmail.com>
Date: Fri, 31 Mar 2023 13:00:57 +0300
add mail check
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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;
}