restored prev bug fix
This commit is contained in:
parent
7db1608051
commit
0b92ab8e9f
@ -389,7 +389,7 @@ export const ConcernementsStore = defineStore({
|
|||||||
// records and/or merge into general object and on conernement entitites_byid
|
// records and/or merge into general object and on conernement entitites_byid
|
||||||
tmp_conc.entites.forEach(entite => {
|
tmp_conc.entites.forEach(entite => {
|
||||||
entite.cid = tmp_conc.id;
|
entite.cid = tmp_conc.id;
|
||||||
if(entite.entite){
|
// if(entite.entite){
|
||||||
if (this.allEntitesById[entite.entite.id]) {
|
if (this.allEntitesById[entite.entite.id]) {
|
||||||
_assign(this.allEntitesById[entite.entite.id], entite);
|
_assign(this.allEntitesById[entite.entite.id], entite);
|
||||||
}else{
|
}else{
|
||||||
@ -400,7 +400,7 @@ export const ConcernementsStore = defineStore({
|
|||||||
}else{
|
}else{
|
||||||
tmp_conc.entites_byid[entite.entite.id] = entite;
|
tmp_conc.entites_byid[entite.entite.id] = entite;
|
||||||
}
|
}
|
||||||
}
|
// }
|
||||||
});
|
});
|
||||||
// add and/or merge revisions
|
// add and/or merge revisions
|
||||||
tmp_conc.active_revision = concernement.revision_id;
|
tmp_conc.active_revision = concernement.revision_id;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user