Use creatable autocomplete, to select or create a new playlist

This commit is contained in:
Deluan
2020-05-25 14:50:46 -04:00
committed by Deluan Quintão
parent 23bd5e1131
commit 6db63e4dfc
14 changed files with 287 additions and 319 deletions
+2 -2
View File
@@ -81,8 +81,8 @@ const PlaylistSongs = (props) => {
return <div />
}
const onAddToPlaylist = (playlistId) => {
if (playlistId === props.id) {
const onAddToPlaylist = (pls) => {
if (pls.id === props.id) {
refresh()
}
}