WIP Поправил условия сохранения изменений

This commit is contained in:
DwCay
2023-04-11 17:12:09 +03:00
parent 53490838f5
commit 9383be22df
6 changed files with 102 additions and 74 deletions

View File

@@ -49,7 +49,12 @@ const getters = {
birth_date: person?.birth_date
? new Date(person?.birth_date)
: new Date(),
photo: person?.photo ? rootState.getUrl + person?.photo : null,
photo: person?.photo
? {
photo: rootState.getUrl + person.photo,
file: null,
}
: {},
id: person?.id,
},
registrationAddress: {