aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin/follows/following-list/following-list.component.html
blob: fc1cf0dc45a3a7e4199ccb3c122b6b248f3c91f4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<p-dataTable
    [value]="following" [lazy]="true" [paginator]="true" [totalRecords]="totalRecords" [rows]="rowsPerPage"
    sortField="createdAt" (onLazyLoad)="loadLazy($event)"
>
  <p-column field="id" header="ID" [style]="{ width: '60px' }"></p-column>
  <p-column field="following.host" header="Host"></p-column>
  <p-column field="state" header="State"></p-column>
  <p-column field="createdAt" header="Created date" [sortable]="true"></p-column>
  <p-column styleClass="action-cell">
    <ng-template pTemplate="body" let-following="rowData">
      <my-delete-button (click)="removeFollowing(following)"></my-delete-button>
    </ng-template>
  </p-column>
</p-dataTable>