fix(schematics): fix object iteration error in dashboard (#12216)

This commit is contained in:
yunga91
2018-07-18 19:17:11 +03:00
committed by Joey Perrott
parent 7f1b8b94f7
commit b5898281ca
2 changed files with 2 additions and 2 deletions
@@ -1,7 +1,7 @@
<div class="grid-container">
<h1 class="mat-h1">Dashboard</h1>
<mat-grid-list cols="2" rowHeight="350px">
<mat-grid-tile *ngFor="let card of cards" [colspan]="card.cols" [rowspan]="card.rows">
<mat-grid-tile *ngFor="let card of cards | async" [colspan]="card.cols" [rowspan]="card.rows">
<mat-card class="dashboard-card">
<mat-card-header>
<mat-card-title>
@@ -8,7 +8,7 @@ import { Breakpoints, BreakpointState, BreakpointObserver } from '@angular/cdk/l
<div class="grid-container">
<h1 class="mat-h1">Dashboard</h1>
<mat-grid-list cols="2" rowHeight="350px">
<mat-grid-tile *ngFor="let card of cards" [colspan]="card.cols" [rowspan]="card.rows">
<mat-grid-tile *ngFor="let card of cards | async" [colspan]="card.cols" [rowspan]="card.rows">
<mat-card class="dashboard-card">
<mat-card-header>
<mat-card-title>