new role for members

This commit is contained in:
2021-07-25 15:50:51 +02:00
parent f720d472c8
commit 7ac051e779
17 changed files with 133 additions and 328 deletions

View File

@@ -18,7 +18,7 @@ export class ListComponent {
}
public getPublicShows(songs: Show[]): Show[] {
return songs.filter(_ => _.published).sort((a, b) => (b.date < a.date ? -1 : b.date > a.date ? 1 : 0));
return songs.filter(_ => _.published);
}
public getPrivateSongs(songs: Show[]): Show[] {