[WIP] Добавил выбор категорий и их отправку на форме контактов, исправил отправку данных, фикс стилей
This commit is contained in:
@@ -46,8 +46,8 @@ const state = () => ({
|
||||
organization: null,
|
||||
},
|
||||
benefit: {
|
||||
id: null,
|
||||
name: null,
|
||||
discount: null,
|
||||
photo: null,
|
||||
},
|
||||
},
|
||||
@@ -128,7 +128,13 @@ const getters = {
|
||||
},
|
||||
benefit: {
|
||||
name: person?.benefit?.name,
|
||||
discount: person?.benefit?.discount,
|
||||
id: person?.benefit?.id,
|
||||
photo: person?.photo_benefit
|
||||
? {
|
||||
photo: rootState.getUrl + person?.photo_benefit,
|
||||
file: null,
|
||||
}
|
||||
: {},
|
||||
},
|
||||
};
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user