mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(schematics): fix object iteration error in dashboard (#12216)
This commit is contained in:
+1
-1
@@ -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>
|
||||
|
||||
+1
-1
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user