fixing add order of show for adding songs
This commit is contained in:
@@ -25,7 +25,7 @@ export class SongComponent implements OnInit {
|
|||||||
public faEdit = faEdit;
|
public faEdit = faEdit;
|
||||||
public faDelete = faTrash;
|
public faDelete = faTrash;
|
||||||
public faFileCirclePlus = faFileCirclePlus;
|
public faFileCirclePlus = faFileCirclePlus;
|
||||||
public privateShows$ = this.showService.list$().pipe(map(show => show.filter(_ => !_.published)));
|
public privateShows$ = this.showService.list$().pipe(map(show => show.filter(_ => !_.published).sort((a, b) => b.date.toMillis() - a.date.toMillis())));
|
||||||
|
|
||||||
public constructor(
|
public constructor(
|
||||||
private activatedRoute: ActivatedRoute,
|
private activatedRoute: ActivatedRoute,
|
||||||
|
|||||||
Reference in New Issue
Block a user