mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-22 10:29:54 +02:00
Fix assigning includeBase
This commit is contained in:
parent
6460077c94
commit
f091c1849a
2 changed files with 3 additions and 2 deletions
|
|
@ -237,7 +237,8 @@ export function ActionMixin(Base) {
|
|||
await this.parent.updateSource({ [path]: updates }, options);
|
||||
result = this.parent;
|
||||
} else {
|
||||
result = await this.item.update({ [path]: updates }, options);
|
||||
// If no changes occur, update returns undefined, but we need to re-retrieve the action anyways
|
||||
result = (await this.item.update({ [path]: updates }, options)) ?? this.item;
|
||||
}
|
||||
|
||||
return this.inCollection
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue