add mail check

This commit is contained in:
Nikolay Nikolaev 2023-03-31 13:00:57 +03:00
parent 0c085d21ce
commit 379f885354

View file

@ -125,7 +125,7 @@ function resendUserInvite (event) {
event.stopPropagation(); event.stopPropagation();
const id = event.target.parentNode.dataset.vwUserUuid; const id = event.target.parentNode.dataset.vwUserUuid;
const email = event.target.parentNode.dataset.vwUserEmail; const email = event.target.parentNode.dataset.vwUserEmail;
if (!id) { if (!id || !email) {
alert("Required parameters not found!"); alert("Required parameters not found!");
return false; return false;
} }