reformat code

This commit is contained in:
2020-03-16 21:08:32 +01:00
committed by smuddy
parent 7d58dd9bdd
commit 5e6a30d0e4
2 changed files with 9 additions and 11 deletions

View File

@@ -24,6 +24,11 @@ export class SongComponent implements OnInit {
public faDown = faCaretDown;
public keyFormControl: FormControl;
constructor(
private showSongService: ShowSongService,
) {
}
public _song: Song;
@Input()
@@ -32,11 +37,6 @@ export class SongComponent implements OnInit {
this.keys = !!song ? getScale(song.key) : [];
};
constructor(
private showSongService: ShowSongService,
) {
}
public ngOnInit(): void {
this.keyFormControl = new FormControl(this.showSong.key);
this.keyFormControl.valueChanges.subscribe(async value => {