This commit is contained in:
Dapoolp 2025-08-10 00:55:41 +02:00
parent 1c000c7cfe
commit 389b32c6ad
11 changed files with 89 additions and 53 deletions

View file

@ -227,9 +227,9 @@ export function ActionMixin(Base) {
} else {
result = await this.item.update({ [path]: updates }, options);
}
return this.inCollection
? foundry.utils.getProperty(result, basePath).get(this.id)
? foundry.utils.getProperty(result, basePath)?.get(this.id)
: foundry.utils.getProperty(result, basePath);
}