update invites
This commit is contained in:
parent
3dc5c5f131
commit
7b0364ae8e
@ -25,6 +25,13 @@
|
|||||||
<td mat-cell *matCellDef="let invite"> {{ invite.note}} </td>
|
<td mat-cell *matCellDef="let invite"> {{ invite.note}} </td>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
|
||||||
|
<ng-container matColumnDef="redeemed">
|
||||||
|
<th mat-header-cell *matHeaderCellDef> {{'invite.redeemed' | i18n}} </th>
|
||||||
|
<td mat-cell *matCellDef="let invite">
|
||||||
|
<mat-icon *ngIf="invite.redeemed">how_to_reg</mat-icon>
|
||||||
|
</td>
|
||||||
|
</ng-container>
|
||||||
|
|
||||||
<tr mat-header-row *matHeaderRowDef="inviteColumns"></tr>
|
<tr mat-header-row *matHeaderRowDef="inviteColumns"></tr>
|
||||||
<tr mat-row *matRowDef="let myRowData; columns: inviteColumns"></tr>
|
<tr mat-row *matRowDef="let myRowData; columns: inviteColumns"></tr>
|
||||||
</table>
|
</table>
|
||||||
|
@ -27,7 +27,7 @@ export class InvitesComponent implements OnInit {
|
|||||||
pageSizeOptions: number[] = [5, 10, 25, 50];
|
pageSizeOptions: number[] = [5, 10, 25, 50];
|
||||||
searchFormControl = new FormControl();
|
searchFormControl = new FormControl();
|
||||||
|
|
||||||
inviteColumns = ["starts", "expires", "link", "note"];
|
inviteColumns = ["starts", "expires", "link", "note", "redeemed"];
|
||||||
otherColumns = ["note"];
|
otherColumns = ["note"];
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
|
Loading…
Reference in New Issue
Block a user