update npm version
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
<div *ngIf="songs$ | async as songs" [@fade]>
|
||||
<div *ngIf="songs$ | async as songs" @fade>
|
||||
<app-list-header [anyFilterActive]="anyFilterActive">
|
||||
<app-filter [songs]="songs" route="songs"></app-filter>
|
||||
</app-list-header>
|
||||
|
||||
<app-card [padding]="false">
|
||||
<app-list-item
|
||||
*ngFor="let song of songs"
|
||||
*ngFor="let song of songs; trackBy: trackBy"
|
||||
[routerLink]="song.id"
|
||||
[song]="song"
|
||||
></app-list-item>
|
||||
|
||||
@@ -73,4 +73,5 @@ export class SongListComponent implements OnInit, OnDestroy {
|
||||
|
||||
return flagStrings.indexOf(flag) !== -1;
|
||||
}
|
||||
public trackBy = (index: number, show: Song) => show.id;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user