Get the AmmoTracker's in-popover editing working using the foreign document updating
This commit is contained in:
parent
053ab05dcb
commit
05a3db98c8
3 changed files with 23 additions and 9 deletions
|
|
@ -37,7 +37,10 @@ export class AmmoTracker extends GenericPopoverMixin(HandlebarsApplicationMixin(
|
|||
|
||||
// #region Lifecycle
|
||||
async _preparePartContext(partId, data) {
|
||||
const ctx = { partId };
|
||||
const ctx = {
|
||||
meta: { idp: this.id },
|
||||
partId,
|
||||
};
|
||||
|
||||
let favouriteCount = 0;
|
||||
ctx.ammos = data.ammos.map(ammo => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue