WIP Добавил модальное окно для редактирования фото

This commit is contained in:
DwCay
2023-04-06 20:32:14 +03:00
parent 505754ae3f
commit 523583cbae
3 changed files with 101 additions and 7 deletions

View File

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