course creation

This commit is contained in:
OnlyPapy98
2025-12-19 18:00:50 +01:00
parent dde2e8aebf
commit 169b5ca412
39 changed files with 1250 additions and 2258 deletions

View File

@@ -127,7 +127,7 @@ export class LimitsPage implements OnInit {
}).pipe(
switchMap((res) => {
// Convert PagedResult to array for consistency
return of(res.data);
return of(res.content);
})
);
}
@@ -190,8 +190,8 @@ export class LimitsPage implements OnInit {
// Normal list with pagination
this.api.list(params).subscribe({
next: (res) => {
this.rows.set(res.data);
this.total.set(res.meta.total);
this.rows.set(res.content);
this.total.set(res.pageable.total);
this.loading.set(false);
},
error: () => {