WIP Поправил условия сохранения изменений
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user