@sumaris-net/ngx-components 18.7.12 → 18.7.13-beta1

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.
@@ -35120,7 +35120,8 @@ class AppTable {
35120
35120
  }
35121
35121
  // Propage loading to table
35122
35122
  this._dataSourceLoadingSubscription = this._dataSource.loadingSubject
35123
- .pipe(distinctUntilChanged(),
35123
+ .pipe(filter(isNotNil), // filter out 'undefined'
35124
+ distinctUntilChanged(),
35124
35125
  // If changed to True: propagate as soon as possible
35125
35126
  tap$1((loading) => loading && this.setLoading(true)),
35126
35127
  // If changed to False: wait 250ms before propagate (to make sure the spinner has been displayed)
@@ -37822,7 +37823,8 @@ class AppAsyncTable {
37822
37823
  }
37823
37824
  // Propage loading to table
37824
37825
  this._dataSourceLoadingSubscription = this._dataSource.loadingSubject
37825
- .pipe(distinctUntilChanged(),
37826
+ .pipe(filter(isNotNil), // filter out 'undefined'
37827
+ distinctUntilChanged(),
37826
37828
  // If changed to True: propagate as soon as possible
37827
37829
  tap$1((loading) => loading && this.setLoading(true)),
37828
37830
  // If changed to False: wait 250ms before propagate (to make sure the spinner has been displayed)