diff --git a/src/pages/clients/components/ClientsTable.vue b/src/pages/clients/components/ClientsTable.vue index 9a5d1fc..ac648e3 100644 --- a/src/pages/clients/components/ClientsTable.vue +++ b/src/pages/clients/components/ClientsTable.vue @@ -214,7 +214,9 @@ export default { .get(`general/person/${this.createdClientId}/detail/`) .then((response) => { this.dataClients = [response]; - this.createdClientName = `${response.last_name} ${response.first_name} ${response.patronymic}`; + this.createdClientName = `${response.last_name ?? ""} ${ + response?.first_name ?? "" + } ${response?.patronymic ?? ""}`; this.paginationInfo = { currentPage: 0, length: 0,