bugfixing

This commit is contained in:
2020-06-14 15:46:24 +02:00
parent 1e1e127f13
commit 19b28453d3
36 changed files with 175 additions and 97 deletions

View File

@@ -46,9 +46,11 @@ export class SongComponent implements OnInit {
}
public getFlags = (flags: string): string[] => {
if (!flags) return [];
if (!flags) {
return [];
}
return flags.split(';').filter(_ => !!_);
};
}
public async onDelete(songId: string): Promise<void> {
await this.songService.delete(songId);