WIP Добавил модальное окно для редактирования фото
This commit is contained in:
@@ -31,7 +31,7 @@ const state = () => ({
|
||||
});
|
||||
|
||||
const getters = {
|
||||
getBasicData(state) {
|
||||
getBasicData(state, rootState) {
|
||||
let registrationAddress =
|
||||
state.medicalCard?.person?.address?.find((el) => el.registration_flg) ||
|
||||
{};
|
||||
@@ -49,7 +49,7 @@ const getters = {
|
||||
birth_date: person?.birth_date
|
||||
? new Date(person?.birth_date)
|
||||
: new Date(),
|
||||
photo: person?.photo,
|
||||
photo: person?.photo ? rootState.getUrl + person?.photo : null,
|
||||
},
|
||||
registrationAddress: {
|
||||
region: registrationAddress?.region,
|
||||
|
||||
Reference in New Issue
Block a user