avancement dans la connexion avec le back de la page user/myPlaylist
This commit is contained in:
parent
2bc7c968ef
commit
98ae71b5c1
5 changed files with 59 additions and 90 deletions
|
|
@ -41,7 +41,8 @@ export class PopupAddVideoToPlaylistsComponent implements OnInit
|
|||
|
||||
for(let playlist of this.data.playlists)
|
||||
{
|
||||
playlist["isSelected"] = false;
|
||||
if(playlist.videoIds.includes(this._idVideo)) playlist["isSelected"] = true;
|
||||
else playlist["isSelected"] = false;
|
||||
this.tabPlaylistAndBool.push(playlist);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue