rdv: add entity to serialize (WIP)

This commit is contained in:
nobohan
2021-07-19 11:07:29 +02:00
parent 516c286519
commit 206347de91
3 changed files with 14 additions and 12 deletions

View File

@@ -17,19 +17,19 @@ const removeIdFromValue = (string, id) => {
return str;
};
const activity = {
accompanyingPeriod: null,
persons: [],
thirdParties: [],
users: [],
//professionals: [],
//invites: []
}; // TODO: get this object from window.activity ?
// const activity = {
// accompanyingPeriod: window.accompanyingPeriod,
// persons: [],
// thirdParties: [],
// users: []
// }; // TODO: get this object from window.activity ?
console.log(window.entity)
const store = createStore({
strict: debug,
state: {
activity: activity,
activity: window.entity,
},
mutations: {