Skip to content

Commit 7dded8d

Browse files
committed
resolves aspnetboilerplate/aspnetboilerplate#5796: Add component attribute to PagedListingComponentBase
1 parent cbf7bb0 commit 7dded8d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

angular/src/shared/paged-listing-component-base.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { AppComponentBase } from 'shared/app-component-base';
2-
import { Injector, OnInit } from '@angular/core';
2+
import { Component, Injector, OnInit } from '@angular/core';
33

44
export class PagedResultDto {
55
items: any[];
@@ -15,6 +15,9 @@ export class PagedRequestDto {
1515
maxResultCount: number;
1616
}
1717

18+
@Component({
19+
template: ''
20+
})
1821
export abstract class PagedListingComponentBase<TEntityDto> extends AppComponentBase implements OnInit {
1922

2023
public pageSize = 10;

0 commit comments

Comments
 (0)