angular-odata 0.166.0 → 0.166.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12231,7 +12231,7 @@ class ODataModelAttribute {
12231
12231
  return this._field.isStructuredType();
12232
12232
  }
12233
12233
  get() {
12234
- return this.state === ODataModelState.Modified ? this.change : this.value;
12234
+ return this.state === ODataModelState.Unchanged ? this.value : this.change;
12235
12235
  }
12236
12236
  set(value, reset = false, reparent = false) {
12237
12237
  const current = this.get();