DataList/DataGrid paginator is displayed when it should not be #4655
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Current behavior
DataList component, when property [paginator] is set to false and [paginatorPosition]='both' remains displayed
Expected behavior
should be hidden
Minimal reproduction of the problem with instructions
Where exactly if fails
DataList Component;
Lines:
TopPaginator: *ngIf="paginator && paginatorPosition!='bottom' || paginatorPosition =='both'"
BottomPaginator *ngIf="paginator && paginatorPosition!='top' || paginatorPosition =='both'"
should be
TopPaginator: *ngIf="paginator && (paginatorPosition!='bottom' || paginatorPosition =='both')"
BottomPaginator *ngIf="paginator && (paginatorPosition!='top' || paginatorPosition =='both')"
Angular version:
5.0.0
PrimeNG version:
5.0.2
Browser:
all
Language:
all
The text was updated successfully, but these errors were encountered: