#150 Pre grid/list decorator generalisation commit

This commit is contained in:
Jonas Van Goolen
2017-10-31 13:51:08 +01:00
parent a65dd80551
commit 1acd8a952b

View File

@@ -12,7 +12,7 @@
(paginationChange)="onPaginationChange($event)">
<ul *ngIf="objects.hasSucceeded | async" @fadeIn>
<div class="row">
<div class="col-lg-3 col-xs-12 col-sm-6"
<div class="col-lg-4 col-sm-4 col-xs-12 "
*ngFor="let object of (objects.payload | async) | paginate: { itemsPerPage: (pageInfo | async)?.elementsPerPage, currentPage: (pageInfo | async)?.currentPage, totalItems: (pageInfo | async)?.totalElements }">
<ds-wrapper-grid-element [object]="object"></ds-wrapper-grid-element>
</div>