Skip to content
Snippets Groups Projects
Commit 16f9023a authored by thibault.capt's avatar thibault.capt
Browse files

(fix): lint

parent ffa3942b
No related branches found
No related tags found
No related merge requests found
Pipeline #37288 failed
......@@ -70,14 +70,13 @@ export class MusicPlayerComponent implements OnChanges, AfterViewInit {
console.warn('music player resource:', this.musicRessources);
if (!this.audioElement) return;
console.log("src : " + this.audioElement.src);
console.log('src : ' + this.audioElement.src);
if (this.isPlaying()) {
if (this.musicRessources && !this.audioElement.src && !changeMusic) {
if (this.musicRessources instanceof Blob) {
this.audioElement.src = URL.createObjectURL(this.musicRessources);
}
}
else if (this.musicRessources && changeMusic) {
} else if (this.musicRessources && changeMusic) {
if (this.musicRessources instanceof Blob) {
this.audioElement.src = URL.createObjectURL(this.musicRessources);
}
......
......@@ -99,7 +99,7 @@ export class MusicTableComponent implements OnInit, OnDestroy {
}
onPrevious() {
console.log("previous clic");
console.log('previous clic');
if (this.musics) {
this.isPlaying.set(true);
const prevIndex =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment