fixed bug where recently saved playlists could not be shared

This commit is contained in:
Isaac Grynsztein
2020-04-07 22:08:18 -04:00
parent 1b4f2830f5
commit cb02227302

View File

@@ -281,6 +281,7 @@ export class PlayerComponent implements OnInit {
if (res['success']) {
dialogRef.close();
const new_playlist = res['new_playlist'];
this.db_playlist = new_playlist;
this.openSnackBar('Playlist \'' + name + '\' successfully created!', '')
this.playlistPostCreationHandler(new_playlist.id);
}