X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FUpsertUser.vue;h=b5c6fbe436ce37bbc881965f7b62eea1a3927196;hb=98b94cc3504937ae0af29a265394dfe52ea1ee67;hp=222a8625a166c35e27258d907ad63c8d53c4e5a6;hpb=6808d7a16ec1e761c6a2dffec2281c96953e4d89;p=vchess.git diff --git a/client/src/components/UpsertUser.vue b/client/src/components/UpsertUser.vue index 222a8625..b5c6fbe4 100644 --- a/client/src/components/UpsertUser.vue +++ b/client/src/components/UpsertUser.vue @@ -1,31 +1,56 @@ @@ -126,7 +151,7 @@ export default { error = checkNameEmail({ [type]: this.nameOrEmail }); } else error = checkNameEmail(this.st.user); if (error) { - alert(error); + alert(this.st.tr[error]); return; } this.infoMsg = "Processing... Please wait"; @@ -158,6 +183,7 @@ export default { [type="checkbox"].modal+div .card max-width: 370px max-height: 100% + #dialog padding: 5px color: blue