Fix assigning includeBase

This commit is contained in:
Carlos Fernandez 2026-07-18 19:01:13 -04:00
parent 6460077c94
commit f091c1849a
2 changed files with 3 additions and 2 deletions

View file

@ -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