@trudb/tru-common-lib 0.0.577 → 0.0.578

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.
@@ -1,6 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { Directive, Input, Injectable, Component, Inject, HostListener, NgModule, EventEmitter, ViewEncapsulation, Output, APP_INITIALIZER, InjectionToken } from '@angular/core';
3
- import { EntityAspect, MetadataStore, EntityManager, DataService, EntityQuery, Predicate, FetchStrategy, EntityState, BinaryPredicate, AndOrPredicate, breeze } from 'breeze-client';
3
+ import { EntityAspect, MetadataStore, EntityManager, DataService, EntityQuery, Predicate, FetchStrategy, EntityState, EntityAction, BinaryPredicate, AndOrPredicate, breeze } from 'breeze-client';
4
4
  import { BehaviorSubject, defer, from, of, Subject, Observable, skip, forkJoin, throwError } from 'rxjs';
5
5
  import * as _ from 'underscore';
6
6
  import * as i1$2 from '@angular/common/http';
@@ -1050,7 +1050,8 @@ class TruDataContext {
1050
1050
  this._breezeContext = this.breezeContextFactory.createContext();
1051
1051
  this.entityAccessor.context = this;
1052
1052
  this.entityManager.entityChanged.subscribe((changeArgs) => {
1053
- this.propertyChanged(undefined);
1053
+ if (changeArgs.entityAction === EntityAction.PropertyChange)
1054
+ this.propertyChanged(undefined);
1054
1055
  });
1055
1056
  }
1056
1057
  onPropertyChanged() {