mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-18 16:09:03 +01:00
Fixes
This commit is contained in:
parent
1c000c7cfe
commit
389b32c6ad
11 changed files with 89 additions and 53 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue