diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 875d030..5698d69 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -60,7 +60,7 @@ export class AppComponent implements OnInit { } private updateFileName() { - var fileName = this.musicGenres[this.selectedGenreIndex].subGenres[this.selectedSubGenreIndex].link; + const fileName = this.musicGenres[this.selectedGenreIndex].subGenres[this.selectedSubGenreIndex].link; this.fileNameBehaviourSubject.next(fileName); } }