reformat code
This commit is contained in:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user