Fix: déplacement de conteneur
This commit is contained in:
parent
3152d87078
commit
b4eb66bef5
@ -1032,7 +1032,7 @@ export class RdDActor extends Actor {
|
||||
let newItemId = itemMap[item.id]; // Get newItem
|
||||
|
||||
console.log('New conteneur filling!', newConteneur, newItemId, item);
|
||||
let contenu = duplicate(newConteneur.data.contenu);
|
||||
let contenu = duplicate(Misc.templateData(newConteneur).contenu);
|
||||
contenu.push(newItemId);
|
||||
await this.updateEmbeddedDocuments('Item', [{ _id: newConteneurId, 'data.contenu': contenu }]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user