ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix pagination label in tables
Chocobozzze1b543bfa011
diff --git a/client/src/app/shared/shared-tables/table.component.ts b/client/src/app/shared/shared-tables/table.component.tsindex 40e82dcd59..633ac7de55 100644--- a/client/src/app/shared/shared-tables/table.component.ts+++ b/client/src/app/shared/shared-tables/table.component.ts@@ -407,7 +407,10 @@ export class TableComponent<Data, ColumnName = string, QueryParams extends Table}getPaginationTemplate () {- return $localize`Showing {first} to {last} of {totalRecords} elements`+ const start = this.pagination.start + 1+ const end = Math.min(this.pagination.start + this.pagination.count, this.totalRecords)++ return $localize`Showing ${start} to ${end} of ${this.totalRecords} elements`}hasBulkActions () {