routing
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import {blend} from 'src/app/services/animation';
|
||||
import {blend} from 'src/app/songs/services/animation';
|
||||
import {Component} from '@angular/core';
|
||||
import {SongsService} from 'src/app/data/songs.service';
|
||||
import {State} from 'src/app/data/state';
|
||||
|
||||
@Component({
|
||||
selector: 'app-songs',
|
||||
@@ -10,9 +9,10 @@ import {State} from 'src/app/data/state';
|
||||
animations: [blend]
|
||||
})
|
||||
export class SongsComponent {
|
||||
public State = State;
|
||||
|
||||
constructor(public songsService: SongsService) {
|
||||
constructor(
|
||||
public songsService: SongsService
|
||||
) {
|
||||
songsService.loadSongList$().subscribe();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user