Skip to content

Commit 4fa9665

Browse files
authored
drop pagination-template partial template (#28212)
1 parent cba2804 commit 4fa9665

File tree

2 files changed

+3
-22
lines changed

2 files changed

+3
-22
lines changed

generators/angular/templates/src/main/webapp/app/entities/_entityFolder_/list/_entityFile_.component.ts.ejs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,9 @@ export class <%= componentName %> implements OnInit {
134134
<%_ } _%>
135135

136136
<%_ if (paginationPagination) { _%>
137-
<%- include('pagination-template'); -%>
137+
itemsPerPage = ITEMS_PER_PAGE;
138+
totalItems = 0;
139+
page = 1;
138140
<%_ } else if (paginationInfiniteScroll) { _%>
139141
itemsPerPage = ITEMS_PER_PAGE;
140142
links: WritableSignal<Record<string, undefined | Record<string, string | undefined>>> = signal({});

generators/angular/templates/src/main/webapp/app/entities/_entityFolder_/list/pagination-template.ejs

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)