WIP Исправлен null при отсутствии имени, отчества

(cherry picked from commit b6d4b46eed8704d840eb0ca8c6e9e44e9b21db3a)
This commit is contained in:
Daria Golova
2022-12-20 15:18:10 +03:00
committed by kandrusyak
parent 15251602eb
commit 49f0df5604
6 changed files with 45 additions and 21 deletions

View File

@@ -45,14 +45,16 @@ export default {
this.isOpenForm = false;
},
setUpdatedClients() {
this.updatedClients = true;
if (this.$router.currentRoute._value.path === "/clients")
this.updatedClients = true;
},
resetUpdatedClients() {
this.updatedClients = false;
this.createdClientId = "";
},
writeCreatedClientId(id) {
this.createdClientId = id;
if (this.$router.currentRoute._value.path === "/clients")
this.createdClientId = id;
},
},
};