@libs-ui/components-table 0.2.304 → 0.2.305

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,7 +1,7 @@
1
1
  import { NgStyle, NgClass, AsyncPipe, NgComponentOutlet, NgTemplateOutlet } from '@angular/common';
2
2
  import { HttpParams } from '@angular/common/http';
3
3
  import * as i0 from '@angular/core';
4
- import { Pipe, input, ChangeDetectionStrategy, Component, computed, signal, output, viewChild, inject, DestroyRef, ChangeDetectorRef, effect, untracked } from '@angular/core';
4
+ import { Pipe, input, Component, ChangeDetectionStrategy, computed, signal, output, viewChild, inject, DestroyRef, ChangeDetectorRef, effect, untracked } from '@angular/core';
5
5
  import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
6
6
  import * as i2 from '@iharbeck/ngx-virtual-scroller';
7
7
  import { VirtualScrollerModule } from '@iharbeck/ngx-virtual-scroller';
@@ -658,13 +658,13 @@ class LibsUiComponentsTableComponent {
658
658
  for (let i = 0; i < argumentsValue.length; i++) {
659
659
  let argument = argumentsValue[i];
660
660
  if (argument instanceof HttpParams && argument.has(keyPerPage)) {
661
- const currentPerPage = argument.get(keyPerPage) || '25';
661
+ const currentPerPage = get(argument, keyPerPage, '25');
662
662
  argument = argument.set(keyPerPage, perPage);
663
663
  set(argumentsValue, `${i}`, argument);
664
664
  return currentPerPage;
665
665
  }
666
666
  if (argument instanceof Object && Object.keys(argument).includes(keyPerPage)) {
667
- const currentPerPage = argument.get(keyPerPage) || '25';
667
+ const currentPerPage = get(argument, keyPerPage, '25');
668
668
  set(argument, keyPerPage, perPage);
669
669
  return currentPerPage;
670
670
  }