@sumaris-net/ngx-components 1.12.2 → 1.12.3

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.
@@ -27443,7 +27443,7 @@
27443
27443
  this._listenChangesSubscription = this.listenChanges(this.data.id, { interval: this._listenIntervalInSeconds })
27444
27444
  .pipe(operators.filter(isNotNil))
27445
27445
  .subscribe(function (data) {
27446
- if (data.updateDate && data.updateDate.isAfter(_this.data.updateDate)) {
27446
+ if (momentImported.isMoment(data.updateDate) && data.updateDate.isAfter(_this.data.updateDate)) {
27447
27447
  if (!_this.dirty) {
27448
27448
  if (_this.debug)
27449
27449
  console.debug("[data-editor] Changes detected on server, at {" + data.updateDate + "}: reloading page...");