[web] Rename grouped list

This commit is contained in:
Alain Nussbaumer
2024-02-22 19:32:11 +01:00
parent 151af295eb
commit 4af4dd74bd
27 changed files with 140 additions and 141 deletions

View File

@@ -108,13 +108,12 @@ export function byDateSinceToday(field, defaultValue = '0000') {
}
}
export class GroupByList {
export class GroupedList {
constructor({ items = [], total = 0, offset = 0, limit = -1 } = {}) {
this.items = items
this.total = total
this.offset = offset
this.limit = limit
this.count = items.length
this.indexList = []
this.group(noop())