omg mistake

This commit is contained in:
insanity 2018-03-23 17:43:25 +09:00
parent 9e571f6fed
commit 3a5dc4b69f

View File

@ -19,37 +19,35 @@
<div fxFlex="80%" class="example-container mat-elevation-z8"> <div fxFlex="80%" class="example-container mat-elevation-z8">
<div fxLayout="row"> <div fxLayout="row">
<mat-table #table [dataSource]="dataSource" matSort> <mat-table #table [dataSource]="dataSource" matSort>
<ng-container matColumnDef="target"> <ng-container matColumnDef="target">
<mat-header-cell *matHeaderCellDef mat-sort-header> Target </mat-header-cell> <mat-header-cell *matHeaderCellDef mat-sort-header> Target </mat-header-cell>
<mat-cell *matCellDef="let element"> {{element.target.displayName}} </mat-cell> <mat-cell *matCellDef="let element"> {{element.target.displayName}} </mat-cell>
</ng-container> </ng-container>
<ng-container matColumnDef="crawler"> <ng-container matColumnDef="crawler">
<mat-header-cell *matHeaderCellDef mat-sort-header> Crawler </mat-header-cell> <mat-header-cell *matHeaderCellDef mat-sort-header> Crawler </mat-header-cell>
<mat-cell *matCellDef="let element"> {{element.crawler.name}} </mat-cell> <mat-cell *matCellDef="let element"> {{element.crawler.name}} </mat-cell>
</ng-container> </ng-container>
<ng-container matColumnDef="itemCount"> <ng-container matColumnDef="itemCount">
<mat-header-cell *matHeaderCellDef mat-sort-header> Items </mat-header-cell> <mat-header-cell *matHeaderCellDef mat-sort-header> Items </mat-header-cell>
<mat-cell *matCellDef="let element"> {{element.itemCount}} </mat-cell> <mat-cell *matCellDef="let element"> {{element.itemCount}} </mat-cell>
</ng-container> </ng-container>
<ng-container matColumnDef="status"> <ng-container matColumnDef="status">
<mat-header-cell *matHeaderCellDef mat-sort-header> Status </mat-header-cell> <mat-header-cell *matHeaderCellDef mat-sort-header> Status </mat-header-cell>
<mat-cell *matCellDef="let element"> {{element.status.name}} </mat-cell> <mat-cell *matCellDef="let element"> {{element.status.name}} </mat-cell>
</ng-container> </ng-container>
<mat-row *matRowDef="let row; columns: displayedColumns;" (click)="handleRowClick(row)"></mat-row> <mat-row *matRowDef="let row; columns: displayedColumns;" (click)="handleRowClick(row)"></mat-row>
</mat-table> </mat-table>
<mat-paginator #paginator [length]="totalLength" [pageIndex]="0" [pageSize]="PAGE_SIZE" (page)="handlePaging($event)"> <mat-paginator #paginator [length]="totalLength" [pageIndex]="0" [pageSize]="PAGE_SIZE" (page)="handlePaging($event)">
</mat-paginator> </mat-paginator>
</div>
</div> </div>
</div> </div>
</div> </div>