diff --git a/frontend/src/app/quotes/quotes.component.html b/frontend/src/app/quotes/quotes.component.html index a9e4127..071e053 100644 --- a/frontend/src/app/quotes/quotes.component.html +++ b/frontend/src/app/quotes/quotes.component.html @@ -53,7 +53,7 @@ - diff --git a/frontend/src/app/quotes/quotes.component.ts b/frontend/src/app/quotes/quotes.component.ts index 3db0ce6..f607fb5 100644 --- a/frontend/src/app/quotes/quotes.component.ts +++ b/frontend/src/app/quotes/quotes.component.ts @@ -53,7 +53,7 @@ export class QuotesComponent implements OnInit, AfterViewInit { ngOnInit() { this.dataSource = new QuotesDataSource(this.quotesService); - this.dataSource.loadQuotes('', 'date', 'desc', 0, 20); + this.dataSource.loadQuotes('', 'date', 'desc', 0, 10); } ngAfterViewInit() { diff --git a/frontend/src/app/services/quotes.service.ts b/frontend/src/app/services/quotes.service.ts index 88d1da2..339d697 100644 --- a/frontend/src/app/services/quotes.service.ts +++ b/frontend/src/app/services/quotes.service.ts @@ -21,7 +21,7 @@ export class QuotesService { findQuotes( filter = '', sortBy = 'date', sortOrder = 'desc', - pageNumber = 0, pageSize = 20): Observable { + pageNumber = 0, pageSize = 10): Observable { return this.http.get('/quotes/api/quotes', { observe: 'response',