WIP Поправила меню и формы
This commit is contained in:
@@ -325,7 +325,11 @@ export default {
|
||||
el.username !== this.dataClient.phone.username
|
||||
)
|
||||
updateContacts.push(this.dataClient.phone);
|
||||
else if (this.dataClient.phone.username.length < 18) {
|
||||
else if (
|
||||
el.kind === "PHONE" &&
|
||||
this.dataClient.phone.username &&
|
||||
this.dataClient.phone.username.length < 18
|
||||
) {
|
||||
this.dataClient.phone.username =
|
||||
this.client.contacts.find((el) => el.kind === "PHONE")?.username ||
|
||||
"";
|
||||
@@ -334,7 +338,6 @@ export default {
|
||||
"Введите мобильный номер состоящий из 11 цифр"
|
||||
);
|
||||
}
|
||||
|
||||
if (
|
||||
el.kind === "EMAIL" &&
|
||||
el.username !== this.dataClient.email.username
|
||||
|
||||
Reference in New Issue
Block a user