@libs-ui/components-table 0.2.356-33 → 0.2.356-34

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.
@@ -723,10 +723,11 @@ class LibsUiComponentsTableComponent {
723
723
  this.stores.set([]);
724
724
  this.items.set([]);
725
725
  }
726
+ this.totalItemInBackend.set(result.paging?.total_items || 0);
727
+ this.outTotalItem.emit(this.totalItemInBackend());
728
+ this.pagingStore.update((data) => ({ ...data, total_items: this.totalItemInBackend() || 0 }));
726
729
  if (!isChangePage) {
727
730
  this.pagingStore.set(result.paging);
728
- this.totalItemInBackend.set(result.paging?.total_items || 0);
729
- this.outTotalItem.emit(this.totalItemInBackend());
730
731
  if (!this.pagingStore()) {
731
732
  this.loadedLastItem.set(true);
732
733
  }