AntonioMrtz / SpotifyElectron

Spotify Electron is a cross-platform music streaming desktop app made with Electron-React frontend and Python-FastAPI-MongoDB Backend. The goal is to reproduce the original Spotify functionality while adding new ones like uploading songs
https://antoniomrtz.github.io/SpotifyElectron_Web/
Other
45 stars 23 forks source link

Frontend add Playlist to another shows source Playlist #249

Open AntonioMrtz opened 1 month ago

AntonioMrtz commented 1 month ago

Describe the bug Frontend add Playlist to another shows source Playlist. User cannot add a playlist content into the same.

To Reproduce

  1. As user, create 2 playlists, let's say src and dst
  2. In Sidebar right click on Playlist src, then open context menu with right click
  3. Select option Añadir a playlist
  4. Possible destination will show up, you will see src Playlist included

Expected behavior

Do not show src playlist when trying to add Playlist src to dst

Screenshots

Additional context

Logic is inside ContextMenuPlaylist.tsx -> handleAddPlaylistToPlaylist. Filter request incoming playlist and do not show src to the user

AntonioMrtz commented 1 month ago

Add playlist to other playlist shows the src playlist