Merge branch 'UC-206' into 'master'

Исправлен null в поиске клиентов

See merge request andrusyakka/urban-couscous!243
This commit is contained in:
Daria Golova
2023-01-09 08:22:31 +00:00

View File

@@ -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,