@paperless/angular 2.0.1-beta.100 → 2.0.1-beta.101

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.
@@ -3750,20 +3750,17 @@ let Table = class Table {
3750
3750
  this._setRowSelectionData();
3751
3751
  }
3752
3752
  if (changes['enableScroll']?.currentValue) {
3753
- this._calculateColumnWidths();
3754
3753
  this._checkChangesSubscriptions();
3755
3754
  }
3756
3755
  }
3757
3756
  ngAfterViewInit() {
3757
+ if (this.enableScroll) {
3758
+ this._checkChangesSubscriptions();
3759
+ }
3758
3760
  if (this.columnDefinitions) {
3759
3761
  this.columnDefinitions.changes.pipe(untilDestroyed(this), debounceTime(100)).subscribe(() => this._generateColumns());
3760
3762
  this._generateColumns();
3761
3763
  }
3762
- if (!this.enableScroll) {
3763
- return;
3764
- }
3765
- this._calculateColumnWidths();
3766
- this._checkChangesSubscriptions();
3767
3764
  }
3768
3765
  onResize() {
3769
3766
  this._setRowSelectionData();