Skip to content

Commit

Permalink
Link auf Sponsor
Browse files Browse the repository at this point in the history
  • Loading branch information
maesi committed May 17, 2018
1 parent 50522a8 commit b76341f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
<mat-table #table [dataSource]="panel.datasource">
<ng-container matColumnDef="sponsor">
<mat-header-cell *matHeaderCellDef>Sponsor</mat-header-cell>
<mat-cell *matCellDef="let element">{{element.sponsor}}</mat-cell>
<mat-cell *matCellDef="let element"><a [routerLink]="['/sponsor', element.sponsorId,
{ outlets: {'engagement':['list'], 'beziehung':['list'], 'dokument':['list'], 'logo':['list']}}
]">{{element.sponsor}}</a></mat-cell>
</ng-container>
<ng-container matColumnDef="engagement">
<mat-header-cell *matHeaderCellDef>Engagement</mat-header-cell>
Expand Down
1 change: 1 addition & 0 deletions src/app/dashboard/dashboard.types.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import {Zahlung} from '../engagement/engagement.types';

export class DashboardDetail {
public sponsorId: number;
public sponsor: string;
public engagement: string;
public betrag: number;
Expand Down

0 comments on commit b76341f

Please sign in to comment.