This commit is contained in:
WBHarry 2025-07-25 01:45:53 +02:00
parent f0a809266d
commit e8343de4e4
4 changed files with 52 additions and 52 deletions

View file

@ -159,12 +159,12 @@ export default class BaseDataItem extends foundry.abstract.TypeDataModel {
const allowed = await super._preUpdate(changed, options, userId);
if (allowed === false) return false;
addLinkedItemsDiff(changed.system?.features, this.features, options, 'changedFeatures');
addLinkedItemsDiff(changed.system?.features, this.features, options);
}
_onUpdate(changed, options, userId) {
super._onUpdate(changed, options, userId);
updateLinkedItemApps(options, 'changedFeatures', this.parent.sheet);
updateLinkedItemApps(options, this.parent.sheet);
}
}