superposition : resolved the three stage rocket pushaside syndrome
This commit is contained in:
@@ -35,6 +35,7 @@ export default {
|
||||
'concernements_loaded',
|
||||
'concernementsByID',
|
||||
'allSuperpositions_byid',
|
||||
'allMapItems_byid',
|
||||
'opened_recit']),
|
||||
},
|
||||
watch: {
|
||||
@@ -104,17 +105,20 @@ export default {
|
||||
if (i === 1) {
|
||||
mapitem.superposition_ids.push(superposition_id)
|
||||
}else{
|
||||
this.mapitems.push({
|
||||
let mapitem_superposition = {
|
||||
id: `${concernement.id}___${superposition_id}`,
|
||||
concernement: concernement,
|
||||
superposition_ids: [superposition_id],
|
||||
clone: true
|
||||
});
|
||||
};
|
||||
this.mapitems.push(mapitem_superposition);
|
||||
this.allMapItems_byid[mapitem_superposition.id] = mapitem_superposition;
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
this.mapitems.push(mapitem)
|
||||
this.allMapItems_byid[mapitem.id] = mapitem;
|
||||
}
|
||||
console.log('App mapitems', this.mapitems);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user