@sumaris-net/ngx-components 2.2.6-rc1 → 2.2.6-rc2

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.
@@ -18797,15 +18797,17 @@ class ToolbarComponent {
18797
18797
  // Listen progress bar service mode
18798
18798
  if (progressBarService) {
18799
18799
  this.progressBarMode$ = progressBarService.onProgressChanged
18800
- .pipe(startWith('none'), tap((mode) => console.debug('[toolbar] Updating progressBarMode: ' + mode)), debounceTime(100), // wait 100ms, to group changes
18801
- distinctUntilChanged());
18800
+ .pipe(startWith(null), debounceTime(100), // wait 100ms, to group changes
18801
+ distinctUntilChanged(),
18802
+ // DEBUG
18803
+ tap((mode) => console.debug('[toolbar] Updating progressBarMode: ' + mode)));
18802
18804
  }
18803
18805
  }
18804
18806
  set backHref(value) {
18805
18807
  if (value !== this._backHref) {
18806
18808
  this._backHref = value;
18807
18809
  this.canGoBack = this.canGoBack || isNotNil(value);
18808
- this.cd.markForCheck();
18810
+ this.markForCheck();
18809
18811
  }
18810
18812
  }
18811
18813
  get backHref() {
@@ -18815,7 +18817,7 @@ class ToolbarComponent {
18815
18817
  if (value !== this._defaultBackHref) {
18816
18818
  this._defaultBackHref = value;
18817
18819
  this.canGoBack = this.canGoBack || isNotNil(value);
18818
- this.cd.markForCheck();
18820
+ this.markForCheck();
18819
18821
  }
18820
18822
  }
18821
18823
  get defaultBackHref() {