profile.component.html 615 Bytes
Newer Older
1 2
<div class="mat-typography">
	<h3>User Info</h3>
Lukas Burgey's avatar
Lukas Burgey committed
3
	<mat-table [dataSource]="userService.userInfo()">
Lukas Burgey's avatar
Lukas Burgey committed
4 5 6 7 8 9 10 11 12 13 14 15
		<ng-container matColumnDef="name">
			<mat-header-cell *matHeaderCellDef>Name</mat-header-cell>
			<mat-cell *matCellDef="let element">{{ element.name}}</mat-cell>
		</ng-container>
		<ng-container matColumnDef="info">
			<mat-header-cell *matHeaderCellDef>Info</mat-header-cell>
			<mat-cell *matCellDef="let element">{{ element.info }}</mat-cell>
		</ng-container>
		<mat-header-row *matHeaderRowDef="columns"></mat-header-row>
		<mat-row *matRowDef="let row; columns: columns;"></mat-row>
	</mat-table>
</div>